StayHealthy is a modern healthcare platform that allows users to book in-person medical appointments and schedule instant online consultations with healthcare professionals. Built with React, this application provides a seamless user experience for both patients and healthcare providers.
- User Authentication: Secure login and registration system
- Book Appointments: Schedule in-person appointments with doctors
- Instant Consultation: Connect with healthcare professionals instantly online
- Doctor Search: Find doctors by specialty and location
- User Profiles: Manage your healthcare information in one place
- Appointment Management: View, reschedule, or cancel appointments
- Reviews: Share your experience with the healthcare community
- Offline Mode: Application works even when server is unavailable
You can access the live demo of the StayHealthy application at: https://ageorge556.github.io/StayHealthy/
Demo Account:
- Email: demo@example.com
- Password: demo1234
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/AGeorge556/StayHealthy.git cd StayHealthy
-
Install dependencies:
npm install
-
Start the development server:
npm start
-
To run with backend server (optional):
cd server npm install npm start
The client application will be available at http://localhost:3000
The backend server runs on http://localhost:8181
To deploy to GitHub Pages:
npm run deploy
-
Frontend:
- React.js (19.1.0)
- React Router (7.5.0)
- CSS3 for styling
- LocalStorage/SessionStorage for data persistence
-
Backend (Optional):
- Node.js
- Express.js
- MongoDB (Mongoose ODM)
- JSON Web Tokens for authentication
StayHealthy/
├── public/ # Static files
├── server/ # Backend server (optional)
│ ├── models/ # MongoDB models
│ ├── routes/ # API routes
│ ├── db.js # Database connection
│ └── index.js # Server entry point
└── src/
├── Components/ # React components
│ ├── BookingConsultation/ # Appointment booking
│ ├── InstantConsultationBooking/ # Instant consultations
│ ├── Login/ # Authentication
│ ├── Navbar/ # Navigation
│ ├── Notification/ # User notifications
│ ├── ProfileCard/ # User profile
│ └── ...
├── App.js # Main component
├── config.js # Application configuration
└── index.js # Entry point
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the ISC License - see the LICENSE file for details.
Made with ❤️ by AGeorge556
© 2025 StayHealthy. All rights reserved.