Halo-Doc is an online Doctor Consultancy Platform complete with real-time chat using Socket.IO and seamless video calling functionality. The platform is designed to offer a seamless and secure experience to both doctors and patients, making remote healthcare accessible to everyone.
Clone the project
git clone https://github.com/Mahesward/Halo-Doc-Server.gitGo to the project directory
cd serverInstall dependencies
npm installAdd environment variables
touch .envadd environment variables
MONGODB_URL = <--mongodb_url-->
JWT_SECRET = "$2b$10$.XeHdd3KmOWvRK.ase5GJuRKhQduYNo5wPJpPqXAUhQvD4cNrQGe2"
#PAYMENT
STRIPE_SECRET = <--stripe-secret-->
STRIPE_END_POINT_SECRET = <--stripe-endpoint-secret-->
CLIENT_URL = <--client url-->
### nodemailer
SMTP_USER = <--gmail-->
SMTP_PASS = <--password-->
GOOGLE_APPLICATION_CREDENTIALS = keys\FIREBASE.json
Build the application
npm run buildStart the server
npm starttypescript node.js express mongodb mongoose nodemailer JWT Cloudinary socket.io eslint firebase stripe payment zego cloud API