Spring boot project for creating a resume
In order to have your own basic authentication username & password some environment variables need to be set.
- Run the command:
cp .env.example .env
- Adjust the variables within the
.env
to your personal preference
Hint: Even though it is not recommended this step can be skipped. There are already default values set within the application.
- Make sure docker is installed & running
- To create the database container run:
docker run --name resume-database-container -p 5433:5432 -e POSTGRES_USER=admin -e POSTGRES_PASSWORD=letmein -e POSTGRES_DB=resume-database -d postgres:17.0
- To start the application run:
./gradlew bootRun
- Make sure docker is installed & running
- Run:
docker compose -f docker-compose-resume-backend.yml up --build
- Run:
./gradlew test
- Make sure docker is installed & running
- Run:
./gradlew integrationTest
For the documentation of the REST API springdoc is used.
To see the Swagger documentation go here
To see the OpenAPI specs go here