docker run --name=dev-postgres -p 5432:5432 --rm -e POSTGRES_PASSWORD=ctf -e POSTGRES_USER=ctf -e POSTGRES_DB=ctf postgres:alpine
./gradlew bootRun --args='-Dspring.profiles.active=dev'
docker compose build
docker compose up -d
For further reference, please consider the following sections:
- Official Gradle documentation
- Spring Boot Gradle Plugin Reference Guide
- Create an OCI image
- Spring Security
- Spring Data JPA
- Spring Web
The following guides illustrate how to use some features concretely:
- Securing a Web Application
- Spring Boot and OAuth2
- Authenticating a User with LDAP
- Accessing Data with JPA
- Building a RESTful Web Service
- Serving Web Content with Spring MVC
- Building REST services with Spring
These additional references should also help you: