This document describes the steps required to configure and run the project. Please follow the instructions carefully.
npm
commands. Download it from Node.js official website.The code will no longer work with the local Postgres database so there is no need to download it.
npm install nodemon --save-dev
npm i express morgan cors
npm install bcrypt
npm install jsonwebtoken
npm install pdfkit
npm install
DB_USER=something
DB_PASSWORD=something
DB_HOST=something
DB_PORT=something
DB_NAME=something
REACT_APP_BACKEND_URL=http://localhost:4000
To run the backend, open a terminal, navigate to the api
folder and run:
npm run dev
This will start the backend server.
To start the frontend, open a new terminal, navigate to ui/client
and run:
npm start
This will start the frontend development server.