This is the Web Service for a website Heal Connect. Heal Connect is a website that connects the health care professionals to the people who are in need of a health care.
-
this is the backend code of the the website HealConnect
-
This Webservice has a fully functional REST api that is build using the MVC architecture which also contains the advanced API features like Advanced Filtering , sorting
-
In this payments are integrated using stripe(a third party payment gateway) which is used by the users for hiring the health care professionals
-
In this we also included the Phone Number authentication which is enabled to verify users.
-
this webservice is depolyed on Render
GET /api/nurses
/api/nurses/${id}
POST /api/nurses
{
"name": "",
"age": ,
"sex": "",
"address": {
"street": "",
"city": "",
"state": "",
"zip": ""
},
"email": "",
"aadharCard": "",
"previousWorkExperience": "",
"typeofcare":"",
"subcare":[""],
"cv": "Link to CV or CV data 1",
"education": [
{
"collegeName": "",
"yearOfPassing":
}
],
"stateCouncil": "",
"councilRegistrationNumber": ""
}
PATCH /api/nurses/${id}
DELETE /api/nurses/
POST /api/user/signup
{
"username":"",
"number":""
}
POST /api/user/signup/verify
{
"otp":""
}
POST /api/user/signin
{
"number":""
}
POST /api/user/signin/verify
{
"otp":""
}
POST /api/create-checkout-session
{
"nurse":{
"_id": "",
"name": ""
}
}
The project is Depoyed on Render.
https://healconnectserver.onrender.com/
To run this project locally ,run the following command in your terminal
npm start