Hippocrates API
API for our project on Hack Kosice 2019
What's working
Server listens on
*:8080
run-server
command should work
GET /?param_name=param_value
- GET
request to /
with or without parameters
POST /
- POST
request to /
with or without parameters (not tested yet!!!)
POST *
and GET *
- Will throw 404 error
What will work
GET /doctors
- get list of doctors
GET /patients
- get list of patients
GET /doctor/:id
- get doctor with id id
GET /patient/:id
- get patient with id id
GET /reservations/?day=DD.MM.YYYY
- get list of times of the day (with day
parameter) or the next 5 working days which are occupied by patients
...
Dependencies
- Express
- Body-parser
- Multer