REST microservice using spring boot framework
-
API design – support POST, PUT, GET using example of Country which include country_name, and Country_capital with its id
-
MySql database is used in this project (Create a databse with name "mydb" and create a "country" folder in it after the the schema is "id, capital and country_name)
-
Using Spring boot JPA for repository operation.
-
Uses Mokito Junit testing
-
Implemented API using Swagger Documentation which uses localhost 8080.
Here is the local host to use for Swagger documentation http://localhost:8080/swagger-ui/index.html
-
To run this program you have to download the source code and update the maven and create the Mysql as mention in the point 2