This is a series of posts that will describe how to create a fully functional REST API in Spring boot.
The application involves various use cases like
- Consuming external rest service using fiegn client
- Automated Testing using Spring boot and Cucumber
- Code coverage using JACOCO
- Sonar for checking coding standard
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