- Setup a local Mysql db
- In application.properties setup the config as per your local settings spring.datasource.url= spring.datasource.username= spring.datasource.password=
- Clone this repository
- Run
mvn clean package
- Run
java -jar target/digicart-ms-0.0.1-SNAPSHOT.jar
- Do a get or post to the endpoint (/api/users)
GET : http://localhost:8080/api/users [Fetches list of users] POST : http://localhost:8080/api/users [Creates a new user]