A forum based Health discussion Portal for doctors and patients, personal messaging between doctors and patients and a chatbot for quick diagnosis
After adding relevant files :
.env (
MONGODB_CONNECTION_STRING = mongoDB Atlas collection connect
JWT_SECRET = secret 🤫)
conntrollers > credentials.json ( it will be the dialogflow agent json file
{
"type": "service_account",
"project_id": "doctorbot-nqqvdw",
"private_key_id": "....",
"private_key": "-----BEGIN PRIVATE KEY----- .......\n-----END PRIVATE KEY-----\n",
"client_email": "....",
"client_id": "....",
.....
}
)
now
open a terminal in this folder directory
npm i
node server.js
now open http://localhost:5000