This is my example project for a Spring Boot REST API for a CRUD-style application.
It follows Thomas Gleason's blog tutorial.
For docker setup, run:
docker-compose build && docker-compose up
Spin down with:
docker-compose down
Example (lists all current Users):
curl http://localhost:8080/users
Setup was created using Spring Initializr
- Spring Boot
- Spring WEB
- MongoDB
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 Data JPA
The following guides illustrate how to use some features concretely: