/unhypem-backend

Backend implementation of unhypem

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Unhypem Backend

Build Status Dependency Status

Backend for unhypem.com.

Setup

You have to setup a postgres database and edit the application,properties file.

Run

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

Docker

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

Test

To start all test use

gradlew test

Outdated dependencies

To check for outdated dependencies

gradlew dependencyUpdates -Drevision=release

Vulnerabilities

To check for vulnerabilities in the dependencies run

gradlew dependencyCheckAnalyze

The reports will be generated automatically under build/reports folder