The Hospital Management System is a web-based application designed to facilitate the efficient management of hospital operations. This system provides a comprehensive solution for healthcare facilities, enabling them to manage patient records, appointments, billing, and staff information seamlessly.
- Patient Management: Easily manage patient information, including personal details, medical history, and treatment records.
- Appointment Scheduling: Allow patients to book appointments with doctors, view available slots, and receive reminders.
- Billing System: Streamline the billing process with automated invoicing and payment tracking.
- Staff Management: Manage healthcare staff information, including roles, schedules, and performance tracking.
- Reporting: Generate reports on various aspects of hospital operations for better decision-making.
*Note:- More Feature will be addded in the future
- Frontend: Built using modern React JS, providing a responsive and user-friendly interface.
- Backend: Developed with Node.js and Express, ensuring a robust server-side application.
- Database: Utilizes MongoDB for efficient data storage and retrieval.
This guide provides step-by-step instructions to install MongoDB as a local database on your machine.
- Visit the MongoDB Download Center.
- Select your operating system:
- Windows
- macOS
- Linux
- Choose the latest stable version.
- Click Download to start downloading the installer.
- Run the downloaded
.msiinstaller file. - Follow the installation prompts:
- Select "Complete" setup type.
- Ensure "Install MongoDB as a Service" is checked.
- Click Install to complete the process.
-
Open the Terminal and use Homebrew:
brew tap mongodb/brew brew install mongodb-community@6.0
-
Start MongoDB as a service:
brew services start mongodb/brew/mongodb-community
-
Import the MongoDB public GPG Key:
wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add - -
Add MongoDB to your package list:
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
-
Update your local package database:
sudo apt update
-
Install MongoDB:
sudo apt install -y mongodb-org
-
Start MongoDB:
sudo systemctl start mongod
Run the following command to verify MongoDB is installed and running:
mongod --versionYou can also check if MongoDB is running by connecting to the database shell:
mongosh- By default, MongoDB stores data in
/data/db(Linux/macOS) orC:\Program Files\MongoDB\Server\<version>\data\db(Windows). - Update the configuration file (
mongod.conf) to customize storage paths or network settings.
- Use MongoDB Compass (a GUI tool) for easier interaction.
- Download from MongoDB Compass.
- Install and connect to your local MongoDB instance.
You’re now ready to use MongoDB as your local database! 🚀
# Backend Setup Instructions
Follow these steps to set up and run the backend server:
---
## 1. Navigate to the Backend Folder
Open your terminal or command prompt and run the following command to move into the backend folder:
```bash
cd backendRun the following command to install the required node_modules:
npm installThis will install all the necessary packages specified in the package.json file.
To start the backend server, run:
npm run startThe server should now be up and running. You can view logs in the terminal for confirmation.
# Frontend Setup Instructions
Follow these steps to set up and run the frontend for the hospital management system:
---
## 1. Navigate to the Frontend Folder
Open your terminal or command prompt and run the following command to enter the frontend folder:
```bash
cd hospital-management-systemRun the following command to install the required node_modules:
npm installThis will install all the necessary packages specified in the package.json file.
To start the frontend development server, run:
npm run devThe frontend should now be up and running. You can open your browser and view the application.
You're all set to work on the frontend! 🚀