Skip to content

samarsajad/Hospital_Management_Website

Repository files navigation

Hospital Management Website

A modern full-stack healthcare management platform that streamlines key hospital services online.

Features Overview

View and order medicines

Book lab test appointments

Schedule checkups with doctors

Book surgeries with prescription upload

Admin panel for managing appointments and listings

Tech Stack

Frontend: React, CSS Modules

Backend: Node.js, Express

Database: MongoDB (with Mongoose)

Getting Started

To run the website app locally, follow these steps:

  1. Clone this repository:
git clone https://github.com/samarsajad/Hospital_Management_Website.git
  1. Navigate to the "server":
cd server
  1. Install dependencies:
npm install

4.Create a .env file in the /server folder and add the following environment variables:

MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret_key

NOTE: Use your own MongoDB URI. You can get it from MongoDB Atlas.

  1. Start the backend server:
node index.js

The backend should now be running at https://hospital-management-website-1-vbg7.onrender.com

  1. Start the backend server: Open a new terminal and navigate to the "client" folder:
cd client
  1. Install Dependencies:
npm install
  1. Start the frontend server:
npm start

The server runs on http://localhost:3000

Code Contributions

We appreciate any code contributions that enhance the functionality or improve the user experience of the website. To contribute code, follow these steps:

  1. Fork the repository to your GitHub account.
  2. Clone your forked repository to your local machine.
  3. Create a new branch for your feature or bug fix: git checkout -b feature-name.
  4. Make your changes and ensure that the code follows the guidelines
  5. Test your changes locally to ensure they work as expected.
  6. Commit your changes with descriptive commit messages: git commit -m "Add feature XYZ".
  7. Push your changes to your forked repository: git push origin feature-name.
  8. Create a pull request against the main branch of the original repository.

Open Source Programs

GSSOC Logo GSSOC 2025
This project is part of GirlScript Summer of Code. We enthusiastically welcome community contributions to enhance the website.

Code of Conduct

By contributing to this website, you agree to our [Code of Conduct](CODE_OF_CONDUCT.md) ). We expect everyone to foster an open, respectful, and welcoming environment.

License

License
This project is licensed under the MIT License.

Releases

No releases published

Packages

No packages published

Contributors 30