It is a simple Task Manager application. User can log in, create new task, change its status and add labels.
https://task-manager-rjgx.onrender.com/
Run
export SPRING_PROFILES_ACTIVE=development
make generate_rsa
./gradlew --no-daemon dependencies
./gradlew --no-daemon build
java -jar build/libs/app-0.0.1-SNAPSHOT.jar
docker build -t task-manager-app .
docker run -dp 127.0.0.1:8080:8080 task-manager-app
Need set enviroment variables:
- DATABASE_URL - DB Url in format: jdbc:postgresql://host:port/databaseName
- DATABASE_PASSWORD - DB password
- DATABASE_USERNAME - DB login
- SPRING_PROFILES_ACTIVE = production
Also, need add 2 secret files:
- private.pem - RSA private key.
- public.pem - RSA publick key.