To run backend locally you need:
Checkout this repo and open terminal in the root of this project.
Install docker and add config file into ~/env/app.env
with two variables DB_PASS=pass
DB_USER=ergo
and ~/env/db.env
with two variables POSTGRES_USER=ergo
POSTGRES_PASSWORD=pass
. Example of files are stored in this project in the env
folder.
Run db via docker-compose up postgres
in the terminal in the root folder of this project
Run App.scala
or use sbt run
command.