This is a simple project for utilizing RESTful web service with spring framework.
What you need to get started:
- Postman, for creating HTTP request and inspecting HTTP response.
- Spring Tool Suite.
- JDK.
- Apache Maven, can be used to build and run the app from command line tool.
-
At the root level of this repository, run
$ mvn install
-
Navigate to the target directory, and execute the
.jar
file inside. -
Finally, execute by running
$ java -jar <JAR_FILE_NAME>.jar
-
Open a web browser and nagivate to this URL
http://localhost:8080/users
-
Now you can test any of the CRUD operation for http methods.
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Web
- Spring Boot DevTools
- Spring Boot Actuator
The following guides illustrate how to use some features concretely: