API for Doctors of a Hospital which has been allocated by the govt. for testing, quarantine as well as well being of COVID-19 patients.
- Clone or Download the Repo.
cd Hospital_API
goto the Repo using Terminal.- Run
npm start
to ignite the project. - Use Postman to test the api.
- Register a Doctor:
[POST]: /api/v1/doctors/register
- Login for Doctor:
[POST]: /api/v1/doctors/login
- Register a patient:
[POST]: /api/v1/patients/register
- Create Patient report:
[POST]: /api/v1/patients/:id/create_report
- Fetch All Reports of a Patient
[GET]: /api/v1/patients/:id/all_reports
- Fetch All Reports Based on a Status:
[GET]: /api/v1/reports/:status