Contact Book is Spring Boot Server app for performing CRUD operation using REST API's
Swagger-UI https://lwl-cb.herokuapp.com/swagger-ui.html#/
PostMan Api collection https://www.getpostman.com/collections/30c39a928a7968d21d60
Project is created with:
- Spring Boot v2.3.0
- MongoDB
- Various 3rd party libraries
You can clone this repo or download .zip file from here https://github.com/learnwithlakshman/contact-app
git clone https://github.com/learnwithlakshman/contact-app.git
This application is deployed in heroku server. Access from here Swagger-UI https://lwl-cb.herokuapp.com/swagger-ui.html#/
After cloning
cd contact-app
gradlew bootJar
cd build\libs
java -jar contactbook-0.0.1-SNAPSHOT.jar --spring.profiles.active=dev
cd contact-app
gradlew bootJar
cd build\libs
java -jar contactbook-0.0.1-SNAPSHOT.jar --spring.profiles.active=prod
After successful completion of above steps you can access Swagger-UI from here http://localhost:8080/swagger-ui.html
By default this application will run in port 8080.
if that port is busy you can change port by providing at --server.port=PORT_NUMBER
java -jar contactbook-0.0.1-SNAPSHOT.jar --spring.profiles.active=dev --server.port=8082