Skip to content

Latest commit

 

History

66 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hey, Welcome to Repo of Public Health Record Management System! 👋

Run Locally

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

Environment Variables

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)

Authors

Note: The database credentials and secret keys included in this repository were sample values used for demonstration purposes only. They have been deleted, and all passwords for the original services have been rotated. Please generate your own credentials and use your own secrets when deploying or testing this project.