Backend for unhypem.com.
You have to setup a postgres database and edit the application,properties file.
To start the project simply hit
// start database
docker run --name unhypem-db -p 5432:5432 -e POSTGRES_PASSWORD=admin -e POSTGRES_DB=unhypem -d postgres
// start hypem proxy
docker run --name unhypem-proxy -d feedme/unhypem-proxy
// start app
gradlew bootRun
First build the container unhypem-backend
and then start it (expose db and http port).
gradlew build -x test
docker build -t unyhpem-backend .
docker run -p 80:8080 -it --net=host unhypem-backend
To start all test use
gradlew test
To check for outdated dependencies
gradlew dependencyUpdates -Drevision=release
To check for vulnerabilities in the dependencies run
gradlew dependencyCheckAnalyze
The reports will be generated automatically under build/reports
folder