A full-stack Doctor Appointment Booking application built using the MERN Stack (MongoDB, Express.js, React, Node.js). The platform allows users to register, search for doctors, book appointments, and manage their schedules.
- User Authentication(using JWT = JSON WEB TOKEN) (Register/Login)
- Role-based Access (User, Doctor, Admin)
- Appointment Booking & Scheduling
- Doctor Profile Management
- Admin Dashboard for managing doctors and approving
- Responsive UI using React and Bootstrap/Tailwind
- RESTful API integration
Frontend:
- React.js(vite)
- context api
- React Router DOM
- Tailwind CSS,postcss
Backend:
- Node.js
- Express.js
- MongoDB + Mongoose
- JWT Authentication
- bcrypt.js
- dotenv
- Node.js
- MongoDB
- Git
- stripe payment account for payment (only of testing purpose)
- cloudinary cloud account to store and retrieve the profile image
git clone https://github.com/your-username/doctor-appointment-app.git
cd doctor-appointment-app
npm create vite@latest <your_folder_name>
npm install -D tailwind postcss
npx tailwind css init -p
cd ./frontend
npm install
cd ./backend
npm install
📌 Note: Make sure to fill all environment variable in
.env file
in bothfrontend
andbackend
folders before starting the app.
ℹ️ Tip: The _redirects
file is required when deploying Single Page Applications (SPAs) like those built with React Router, Vue Router, or Angular, especially on static hosting platforms like Netlify, Vercel, or GitHub Pages.It ensures client-side routing works after page refresh or direct URL access.If hosting platform don't find a file that matches the request, serve the mention file from _redirects
instead (where React app lives).
# In one terminal, run backend
cd backend
npm run start/start_dev
# In another terminal, run frontend
cd frontend
npm run dev
- Frontend: Vercel / Netlify
- Backend: Render /
- MongoDB: MongoDB Atlas
This project is licensed under the MIT License.