This is a RESTful web service project
Frameworks and tools used
Spring Boot to create Restful interface
Spring Boot actuators for production ready inbuilt endpoints
gradle for build
Endpoints available
Production ready endpoints http://localhost:8080/health/ and http://localhost:8080/info/
Service endpoints http://localhost:8080/sayhello/
Launching the service using jar :
- Download the zip from github
- Navigate to lib folder
- Open command prompt and run the command java -jar restful-web-service-0.0.1.jar
- Open browser and access below endpoints
- To know the health of the application http://localhost:8080/health/
- Provides more details about the application http://localhost:8080/info/
- A very useless endpoint that does nothing http://localhost:8080/sayhello/
Launching the service from eclipse :
- Download the zip from github
- Rename it to restful-web-service
- Import as gradle project in eclipse Download gradle plugin from eclipse marketplace if not installed already
- Run InitApplication class to launch the service
- Open browser and access the endpoints