This is a Spring Boot Application with a full-fledged REST API service exposed with Swagger 2.0 UI. It allows for CRUD operations on the customer profile information.
*This application is hosted on Microsoft Azure Cloud.**
Click the following link to access the DEMO
Default 2 users in the system and their corresponding details for Basic in-memory login
User | Password |
---|---|
admin | password |
user | password |
- Spring Boot
- Spring Rest
- Spring JPA
- Swagger 2.0
- H2 in-memory DB
- Docker Container
- Open JDK 8
- Maven 3
If you need to run the project on Eclipse or IntelliJ following steps would help for a quick setup
- Open pom.xml with Intelij or Eclipse
- Run Main.java
- Open browser on http://localhost:8080/swagger-ui.html
If you require to directly run the service in docker environment then execute the following command to automatically pull and deploy locally from public docker cloud repository.
docker run -d -p 8080:8080 shouriendoc/springrest:1.0-SNAPSHOT
Semaphore is used to perform automatic continous integration LINK. The project is verfied for integrity using the Spring Boot Tester with Integration Tests written to ensure E2E working for each of the REST API.
-
The landing page for this application is the Swagger based 2.0 UI.
-
Rest resources exposed to the user for invoking API's. The corresponding documentation detailing the request/response and the ability to invoke the apis is also provided by Swagger seamlessly.
-
Following is an example to invoke the REST API below. This is the REST API to obtain details of the customer for a particular customer ID.