Creating REST API in spring boot

This is a series of posts which will describe how to create a fully functional REST API using Spring boot.

The application involves various use case like

  1. Consuming external rest service using fiegn client
  2. Automated Testing using Spring boot and Cucumber
  3. Code coverage using JACOCO
  4. Sonar for checking coding standard
  5. maven-release-plugin

So before diving deep into details of the codes of the application let’s take a moment to understand what this REST api provides.

It provides services to fetch Quotes based on topics or in general. It also provides services for fetching images from Pexel for given tags.

As a Database this service loads a JSON file which contains huge number of quotes.

Below is architecture of the application

Complete source code of the application is available on github

So let’s start

Leave a comment

Your email address will not be published. Required fields are marked *