A secure and intuitive clinic appointment platform designed to streamline booking workflows and enhance efficiency for both patients and administrators.
HealTrack is built with the MERN stack (MongoDB, Express.js, React.js, Node.js) and offers a modern, responsive interface for managing clinic appointments. The system provides dedicated dashboards for patients and administrators, making appointment management seamless and efficient.
- Secure User Authentication: JWT-based authentication system for patients and administrators
- RESTful API Architecture: Well-defined REST APIs for managing users, appointments, and clinic data
- Responsive Dashboards: User-friendly interfaces optimized for all devices
- Streamlined Booking: Simplified appointment scheduling process for patients
- Administrative Tools: Comprehensive management features for clinic staff
- Real-time Updates: Instant appointment status updates and notifications
- React.js
- Bootstrap
- Node.js
- Express.js
- MongoDB
- JWT (JSON Web Token)
- Node.js (v14 or higher)
- MongoDB (v4.4 or higher)
- npm or yarn package manager
-
Clone the repository
git clone https://github.com/yourusername/healtrack.git cd healtrack -
Install backend dependencies
cd backend npm install -
Install frontend dependencies
cd ../frontend npm install -
Configure environment variables
Create a
.envfile in the backend directory:PORT=5000 MONGODB_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret_key
-
Start MongoDB
mongod
-
Run the application
Backend (from backend directory):
npm start
Frontend (from frontend directory):
npm start
-
Access the application
Open your browser and navigate to
http://localhost:3000
- Register for a new account or log in
- Browse available appointment slots
- Book appointments with preferred doctors
- View and manage your appointments
- Receive appointment confirmations
- Log in with admin credentials
- Manage patient appointments
- View clinic schedule and availability
- Update appointment statuses
- Generate reports and analytics
POST /api/auth/register- Register new userPOST /api/auth/login- User login
GET /api/appointments- Get all appointmentsPOST /api/appointments- Create new appointmentPUT /api/appointments/:id- Update appointmentDELETE /api/appointments/:id- Cancel appointment
GET /api/users/profile- Get user profilePUT /api/users/profile- Update user profile
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature) - Commit your changes (
git commit -m 'Add some feature') - Push to the branch (
git push origin feature/your-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For questions or support, please open an issue on GitHub or contact the maintainers.
- Thanks to all contributors who have helped shape HealTrack
- Built with modern web technologies and best practices
- Designed with user experience and security as top priorities



