Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patrikmasiar/doctor-opening-hours-api
https://github.com/patrikmasiar/doctor-opening-hours-api
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/patrikmasiar/doctor-opening-hours-api
- Owner: patrikmasiar
- Created: 2021-10-04T11:06:56.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-15T15:31:14.000Z (almost 3 years ago)
- Last Synced: 2024-05-01T19:44:29.124Z (6 months ago)
- Language: TypeScript
- Size: 136 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API for doctor opening hours applications
## Getting started
1. Run `yarn start` to build an app and start a server## API docs
### Routes| ROUTE | METHOD | RESPONSE
|:-------------|:-------------|:-------------|
| `/reservation/all` | **GET** | `Reservation[]` |
| `/reservation` | **POST* | `Reservation` |### Types
```javascript
type Reservation = {
date: string;
start: string;
end: string;
};
```#### Example
`http://localhost:3010/reservation/all`