For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring HATEOAS
- Spring Web
The following guides illustrate how to use some features concretely:
- Building a Hypermedia-Driven RESTful Web Service
- Building a RESTful Web Service
- Serving Web Content with Spring MVC
- Building REST services with Spring
Due to Maven's design, elements are inherited from the parent POM to the project POM.
While most of the inheritance is fine, it also inherits unwanted elements like <license> and <developers> from the
parent.
To prevent this, the project POM contains empty overrides for these elements.
If you manually switch to a different parent and actually want the inheritance, you need to remove those overrides.
Use docker-compose up -d to start the docker containers containing the redis database and redis insights.
Make sure that docker is already running on your machine when executing the command.
The contents of the database can be accessed through http://localhost:5540 .
To stop the container, run docker-compose down.
connect to the server using redis-cli: docker exec -it redis redis-cli
Then, authenticate yourself with: AUTH <password>
To access the API through the ui provided by swagger, go to http://localhost:8080/swagger-ui/index.html
To generate the OpenAPI specification, go to http://localhost:8080/v3/api-docs