Skip to content

MuhammedJaseemVK/doctor-book

Repository files navigation

Doctor Book - MERN Stack Project

Welcome to the Doctor Book project! This is a MERN (MongoDB, Express.js, React.js, Node.js) stack project for managing doctor appointments. Follow the steps below to set up the project for development purposes.

Home Page Booking Page Admin panel - doctors Page

Prerequisites

Make sure you have the following installed on your machine:

Server Setup

  1. Clone the repository:

    git clone https://github.com/MuhammedJaseemVK/doctor-book.git
    cd doctor-book
  2. Install server dependencies:

    npm install
  3. Create a .env file in the root directory and add the following variables:

    PORT=8080
    NODE_MODE=development
    MONGODB_URL=mongodb://localhost:27017/doctor-book
    JWT_SECRET=your-secret-key
  4. Start the server:

    npm run dev

The server will run on http://localhost:8080.

Client Setup

  1. Navigate to the client directory:

    cd client
  2. Install client dependencies:

    npm install
  3. Start the client:

    npm start

The client will run on http://localhost:3000.

Usage

Open your web browser and visit http://localhost:3000 to access the Doctor Book application.

Contributing

Feel free to contribute to the project by submitting issues or creating pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.