Skip to content

asidowner/java-project-99

Repository files navigation

Task manager

It is a simple Task Manager application. User can log in, create new task, change its status and add labels.

Hexlet tests and linter status:

Actions Status

Code climate

Maintainability Test Coverage

See on render.com

https://task-manager-rjgx.onrender.com/

Local development

Run

export SPRING_PROFILES_ACTIVE=development
make generate_rsa

Build

./gradlew --no-daemon dependencies
./gradlew --no-daemon build

Run

java -jar build/libs/app-0.0.1-SNAPSHOT.jar

Build docker

docker build -t task-manager-app .

Run docker

docker run -dp 127.0.0.1:8080:8080 task-manager-app

Deploy on render

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages