WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

This api provides the Patient data given by the doctors or staffs with jwt authentication for the staff and doctors.

License

Notifications You must be signed in to change notification settings

bytesagar/patients-api

Repository files navigation

NODEJS Patients API

This API provides the patient data, provided by the staffs or doctors in the hospital. Admin are doctors which has a admin role authorized. They can Create, Read, Update, Delete the patient data.

Users are authenticated with JWT Token


How to Setup

  • git clone https://github.com/sagar608/patients-api.git
  • cd patients-api
  • npm install
  • Configure .env file inside config/.env.example
  • npm run dev

API Endpoints


Patients

  • GET /api/v1/patients/
  • POST /api/v1/patients/
  • GET /api/v1/patients/{:id}
  • PUT /api/v1/patients/{:id}
  • DELETE /api/v1/patients/{:id}
  • PUT /api/v1/patients/{:id}/photo

Users

  • POST /api/v1/auth/register
  • POST /api/v1/auth/login
  • GET /api/v1/auth/me

About

This api provides the Patient data given by the doctors or staffs with jwt authentication for the staff and doctors.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •