Clone the project
git clone https://github.com/PICT-PBL-6-2021-22/public_health_record_management_system
Go to the project directory
cd public_health_record_management_system
Install dependencies in the server
npm install
Go to the client folder
cd client
Install dependencies in the client
npm install
Start the client react project
npm run start
Come back to the server
cd ..
Start Server using node or nodemon
node app.js
or nodemon app.js
Please Use Tailwind CSS for styling components
To run this project, you will need to add the following environment variables to your .env file
DATABASE
SECRET_KEY
DATABASE contains the dbURI of MongoDB connections and SECRET_KEY contains the Secret key for signing and verifying JSON Web Tokens (JWT)