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.
Make sure you have the following installed on your machine:
- Node.js and npm: Download and Install Node.js
- MongoDB: Download and Install MongoDB
-
Clone the repository:
git clone https://github.com/MuhammedJaseemVK/doctor-book.git cd doctor-book
-
Install server dependencies:
npm install
-
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
-
Start the server:
npm run dev
The server will run on http://localhost:8080
.
-
Navigate to the
client
directory:cd client
-
Install client dependencies:
npm install
-
Start the client:
npm start
The client will run on http://localhost:3000
.
Open your web browser and visit http://localhost:3000
to access the Doctor Book application.
Feel free to contribute to the project by submitting issues or creating pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.