A Full-Stack Healthcare Platform for Seamless Patient & Doctor Workflows 🚀
CureLink is a production-ready healthcare web application designed to streamline patient onboarding, appointment management, consultations, and prescription workflows.
It combines modern frontend UX with a secure backend architecture to deliver a scalable, real-world medical platform.
- Secure onboarding & profile management
- Authentication with JWT + Google OAuth
- Cookie-based session handling
- Book, manage, and track appointments
- Structured scheduling workflow
- Real-time status updates
- Maintain consultation history
- Structured patient-doctor interactions
- Persistent records for future reference
- Digital prescription management
- Cloud-based storage using Cloudinary
- Easy access & retrieval
- Email notifications via Nodemailer
- Background jobs using Cron
- Automated workflows for reminders
graph TD
subgraph "Frontend"
UI["React + Vite App"]
end
subgraph "Backend"
API["Node.js + Express API"]
Auth["JWT + Google OAuth"]
end
subgraph "Database"
DB[("MongoDB + Mongoose")]
end
subgraph "Services"
Cloud["Cloudinary"]
Mail["Nodemailer"]
Cron["Cron Jobs"]
end
UI <--> API
API <--> DB
API --> Cloud
API --> Mail
API --> Cron
API --> Auth
- React 19
- Vite
- React Router
- Axios
- Tailwind CSS
- Node.js
- Express.js
- MongoDB + Mongoose
- JWT Authentication (Cookies)
- Passport Google OAuth
- Nodemailer
- Cloudinary
- Node Cron
CureLink/
│
├── frontend/ # React + Vite Client
├── server/ # Express API Server
└── README.mdgit clone https://github.com/your-username/curelink.git
cd curelink# Frontend
cd frontend
npm install
# Backend
cd ../server
npm installCreate:
server/config/.envMONGO_DB_URL=
PORT=5000
JWT_SECRET=
JWT_RESET_SECRET=
NODE_ENV=development
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_CALLBACK_URI=
FRONTEND_URI=
CLOUD_NAME=
CLOUD_API_KEY=
CLOUD_API_SECRET=
USER=
APP_PASSWORD=
⚠️ Never commit.envfiles
# Backend
cd server
npm run dev
# Frontend
cd frontend
npm run dev- Base URL:
http://localhost:5000 - Namespace:
/api/v1
npm run dev # Start dev server
npm run build # Production build
npm run preview # Preview build
npm run lint # Lint codenpm run dev # Run with nodemon-
Deploy frontend & backend separately
-
Enable HTTPS (mandatory for auth cookies)
-
Configure secure CORS policies
-
Use:
- MongoDB Atlas (DB)
- Cloudinary (media)
- Render / VPS / Docker (hosting)
- PM2 (process manager)
- Logging (Winston / Pino)
- Monitoring (Sentry)
- HTTP-only secure cookies
- JWT-based authentication
- OAuth integration
- Environment variable isolation
- Credential rotation before production
- 👨⚕️ Role-based dashboards (Doctor/Admin/Patient)
- 💬 Real-time chat & video consultations
- 🤖 AI-based diagnosis assistant
- 📊 Analytics & reporting dashboard
- 📱 Mobile-first responsive upgrade