This is a Node Js server for Vaccine Management Application.
To run this server locally, ensure MongoDB is installed in your system.
Clone main branch from this repository. On root directory of this project run : npm install
. It will install all the required dependencies and start the server with npm start
command.
GET http://localhost:5000/vaccines
POST http://localhost:5000/vaccines
Content-Type: application/json
Sample payload: { "name": "CoVax", "company_email" : "johnsons&[email protected]", "company_contact": 984234423, "number_of_dose": 2, "gender": "male" }
PATCH http://localhost:5000/vaccines/:id/
Content-Type: application/json
{ "name": "Moderna 2", "company_email" : "[email protected]", "company_contact": 984234423, "number_of_dose": 2, "gender": "male" }
DELETE http://localhost:5000/vaccines/:id
POST http://localhost:5000/users/signup Content-Type: application/json
{ "email": "[email protected]", "password": "1234" }
POST http://localhost:5000/signin Content-Type: application/json
{ "email": "[email protected]", "password": "1234" }
The live version of this application is hosted on https://main--peppy-pony-00d3ac.netlify.app/