to run database:
Create a .env file in /restApi folder with sample content:
DATABASE_URL=postgres://<postgres user>:<password>@localhost:5432/<database name>
JWT_KEY=<your private jwt key>
SALT_PREFIX=10
DATABASE=<database name>
USER=<postgres user>
PASSWORD=<postgres password>
Run script:
create database: npm run create-dev-tables
migrate database: npm run migrate-tables
to run server:
cd restApi
npm install
npm start
to run client:\
cd client
npm install
npm start