The backend service for HealthHub, a full-stack doctor appointment booking platform. Built with Node.js, Express.js, and MongoDB, it provides secure APIs for user and doctor management, appointment scheduling, administration, media uploads, and payment workflows.
- User and doctor authentication
- Doctor profile and speciality management
- Appointment booking and management
- Doctor availability handling
- Admin operations and platform management
- RESTful API endpoints
- Cloudinary integration for media uploads
- Payment workflow integration
- MongoDB database integration
- CORS and environment-based configuration
- Runtime: Node.js
- Framework: Express.js
- Database: MongoDB with Mongoose
- Authentication: Token-based authentication
- Media Storage: Cloudinary
- Payments: Payment gateway integration
- Deployment: Render
git clone https://github.com/VishwasSK15/HealthHub-backend.git
cd HealthHub-backendnpm installCreate a .env file and configure the required values for your database, authentication, Cloudinary, payment services, and server port.
Example structure:
PORT=4000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
CLOUDINARY_NAME=your_cloudinary_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_SECRET_KEY=your_cloudinary_secretUse the exact variable names expected by the application configuration.
npm startFor development, use the development script configured in package.json, if available.
The backend is designed to work with the HealthHub React frontend and admin dashboard through REST API requests.
Never commit .env files, database credentials, JWT secrets, API keys, or payment credentials to GitHub. Configure sensitive values through local environment variables or your deployment platform's protected settings.
Vishwas S K
GitHub: VishwasSK15