HospitAll is a modern, full-stack hospital management system built with React and Node.js. It provides a comprehensive solution for managing hospital operations, including patient management, operation theatre scheduling, pharmacy management, and emergency response.
- Modern, responsive UI with Material-UI components
- Dark theme with attractive color scheme
- Real-time updates and notifications
- Protected routes and authentication
- Role-based access control
- RESTful API architecture
- Secure authentication with JWT
- MongoDB database integration
- Role-based authorization
- Real-time data synchronization
HospitAll/
βββ frontend/ # React frontend application
β βββ src/
β β βββ components/ # Reusable UI components
β β βββ contexts/ # React context providers
β β βββ pages/ # Page components
β β βββ routes.jsx # Application routes
β β βββ theme.js # Material-UI theme configuration
β βββ package.json
β
βββ backend/ # Node.js backend application
βββ src/
β βββ controllers/ # Route controllers
β βββ models/ # Database models
β βββ routes/ # API routes
β βββ middleware/ # Custom middleware
β βββ index.js # Application entry point
βββ package.json
- Node.js (v14 or higher)
- MongoDB
- npm or yarn
- Clone the repository:
git clone https://github.com/yourusername/HospitAll.git
cd HospitAll- Install frontend dependencies:
cd frontend
npm install- Install backend dependencies:
cd ../backend
npm install- Create a
.envfile in the backend directory:
PORT=5000
MONGODB_URI=mongodb://localhost:27017/HospitAll
JWT_SECRET=your_jwt_secret- Start the backend server:
cd backend
npm start- Start the frontend development server:
cd frontend
npm run devThe application will be available at:
- Frontend: http://localhost:5173
- Backend API: http://localhost:5000
- Overview of hospital statistics
- Real-time patient monitoring
- Quick access to all modules
- Patient queue management
- Token generation and tracking
- Priority-based scheduling
- OT scheduling and management
- Surgery tracking
- Resource allocation
- Drug inventory management
- Stock tracking
- Expiry date monitoring
- Supplier management
- Emergency alert system
- Real-time response tracking
- Priority-based handling
- JWT-based authentication
- Role-based access control
- Secure password hashing
- Protected API endpoints
- Input validation and sanitization
- Dark theme with modern color scheme
- Responsive design for all devices
- Intuitive navigation
- Real-time updates
- Error handling and notifications
- React
- Material-UI
- React Router
- Axios
- Context API
- Node.js
- Express.js
- MongoDB
- Mongoose
- JWT
- bcrypt
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Your Name - Initial work
- Material-UI for the component library
- MongoDB for the database
- All contributors who have helped shape this project