This is a web application built with Next.js for managing Outpatient Department (OPD) activities in a hospital. The application allows for scheduling appointments, managing patient records, and providing an interface for doctors and staff to handle daily operations efficiently.
- Next.js: React framework for server-rendered applications.
- JavaScript: Main programming language.
- CSS: Styling of the application.
- Node.js: Backend server.
- MongoDB: Database for storing patient records and appointments.
- Clone the repository:
git clone https://github.com/yhimanshu22/hospital-opd.git
- Navigate to the project directory:
cd hospital-opd
- Install dependencies:
npm install
- Set up environment variables:
Create a .env.local
file in the root directory and add the following variables:
MONGODB_URI=<your_mongodb_uri>
NEXT_PUBLIC_API_KEY=<your_api_key>
- Start the development server:
npm run dev
- Open http://localhost:3000 in your browser to see the application.
Contributions are welcome! Please fork the repository and create a pull request with your changes.