Front-end app on front-react
Node >= v12.21.0
Yarn >= 1.22.5
Copy required files
cp .env.example .env
cp docker-compose.example.yml docker-compose.yml
If you don't already have a postgres database, just run docker-compose up -d
.
This will create a postgres docker container for you. Make sure you have docker
and docker-compose
installed on your system.
Create a new database on your postgres database and put its name on the .env DB_NAME
variable.
Configure the env variables on the .env file according to your enviroment.
Install dependencies
yarn install
Run migrations to create tables and seed the database with services.
yarn migration:run
Start the API
yarn start
username: client | password: 1234
username: professional | password: 5678