Skip to content

Antimatterr/hospital_api

Repository files navigation

Hospital API

This is basic hospital API implementation using nodejs and mysql as database and swagger for API documentation.

Deployment

To run this project on local machine

  npm install 
  npm run dev

API Reference

Get all details of hospital

  GET /api/hospital/${hospital_id}
Parameter Type Description
hospital_id string Required. ID of hospital

Register User

  POST /api/v1/register
Formdata Type Description
name string Required. name of user
email string Required. email of user
address string Required. address of user
password string Required. password of user
phone string Required. phone number of user
image file Required. imae of user
Header Type Description
Authorization Integer(test purpose) Required. Doctor UID

Swagger API link

https://app.swaggerhub.com/apis/SINGHSIDMAIL23/hospital-api/1.0.0

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published