simple java skeleton with swagger
953
This project kick-starts development of a Basic CRUD REST API (supporting simple example HTTP GET, POST, PUT, and DELETE endpoints). The endpoints manage a simple static list of employee data. Requests may be made to fetch a JSON description of all employees or an ID specified employee. Requests may also be made to delete a specified employee, add a new employee, or update employee information.
The first thing to do is to clone this project via the appropriate git command.
For Eclipse Developers:
For Intellij Developers:
In Eclipse, right-mouse menu on the project - click on "Run As / SpringBoot Application". You may also run the project on a Tomcat server managed by Eclipse - "Run As / Run on Server".
In Intellij, run "Application" class.
The project has built-in Swagger UI to view and try out the REST services. Use the following to open the Swagger UI: Swagger UI
You may notice the two maven files in the project: "mvnw" and "mvnw.cmd". These are for anyone who wants to use Maven CLI without having it available globally.
DL RST Tusken Raiders
4/12/2019
Content type
Image
Digest
Size
245.8 MB
Last updated
over 7 years ago
docker pull eclark450/java-rest-basic-skeleton