A fully customizable full‑stack application for tracking patient health records. This platform is built for healthcare providers to manage patient information and records in a secure and modern interface.
- Patient Management: Create, update, delete, and list patients.
- Record Management: Track health records such as allergies, vaccinations, diagnoses, etc.
- Customizable UI & Backend: Easily adjust branding, themes, and API functionality.
- Modern Technology Stack:
- Backend: Node.js, Express, MongoDB (Mongoose), Helmet, CORS.
- Frontend: React with Material UI (MUI), Axios.
- Backend: Node.js, Express, MongoDB (Mongoose), dotenv, helmet, cors.
- Frontend: React, Material UI (MUI), Axios.
- Database: MongoDB
health-records-tracker/
├── backend/
│ ├── package.json
│ ├── .env
│ ├── server.js
│ ├── config/
│ │ └── db.js
│ ├── models/
│ │ ├── Patient.js
│ │ └── Record.js
│ └── routes/
│ ├── patients.js
│ └── records.js
├── frontend/
│ ├── package.json
│ ├── public/
│ │ └── index.html
│ └── src/
│ ├── index.js
│ ├── App.js
│ ├── config.js
│ ├── components/
│ │ ├── Header.js
│ │ ├── Footer.js
│ │ ├── PatientList.js
│ │ ├── PatientForm.js
│ │ ├── RecordList.js
│ │ └── RecordForm.js
│ └── styles/
│ └── main.css
└── README.md
- Node.js (v14+)
- npm (v6+)
- MongoDB (local instance or hosted)
- Navigate to the backend directory:
cd backend
- Install dependencies:
npm install
- Create a
.env
file in the backend directory with the following content (adjust values as needed):PORT=5000 MONGO_URI=mongodb://localhost:27017/health_records_db APP_NAME=HealthRecordsTracker
- Start the backend server:
- For development:
npm run dev
- For production:
npm start
- API Endpoints:
- Health Check:
GET http://localhost:5000/api/health
- Patients:
http://localhost:5000/api/patients
- Records:
http://localhost:5000/api/records
- Navigate to the frontend directory:
cd frontend
- Install dependencies:
npm install
- Customize settings:
Opensrc/config.js
and update:
backendUrl
: URL of your backend server.appName
: Your application name.
- Start the frontend development server:
The app will run on http://localhost:3000.
npm start
- Ensure your environment variables are set and run:
npm start
- Build the React app:
npm run build
- Deploy:
Serve the contents of thebuild
folder to your preferred hosting platform.
- Branding:
Change the application name and other branding details in the backend.env
file and in the frontendsrc/config.js
. - UI Adjustments:
Customize Material UI components in thesrc/components/
folder and adjust global styles insrc/styles/main.css
. - Backend Modifications:
Extend models and routes in thebackend
folder as needed to support additional features or changes.
Feel free to fork this repository and submit pull requests with improvements or customizations. For bugs or feature requests, please open an issue.
This project is licensed under the MIT License.
The UNC-Chapel Hill Google Developer Student Club (GDSC) Team is behind this project.