This project is a starting point for later use, serving as a skeleton.
Technologies used:
- Spring Boot
- Spring Data Rest
- Spring Security + JWT
- Liquibase
- Maven
- JDK 8
For the PostgreSQL docker included, see below.
Before you begin, copy the contents of the file
.env.docker.skeletonto.envand set the values according to your needs.
Don't forget to check the config in the
src/main/resources/application.ymlfile.
# build
$ mvn clean install
# start
$ mvn spring-boot:runTo run the tests for the application:
$ mvn testThe project has a docker with a PostgreSQL database.
To set your variables, copy the .env.docker.skeleton to .env file in the project root.
To use it, simply run the following command:
$ docker-compose up -dYou have to have Docker and Docker Compose installed.
- Spring Boot config file:
src/main/resources/application.yml - Liquibase config file:
src/main/resources/liquibase.properties - For the docker configuration:
.env(.env.docker.skeleton, see above)