Doctor opening hours and booking - React application
Gettings started with the project
- You have to run NodeJS server as API. Then the server URL should be:
http://localhost:3010
- Install dependencies
yarn install
- Run ReactJS project with
yarn start
API docs
Routes
ROUTE | METHOD | RESPONSE |
---|---|---|
/reservation/all |
GET | Reservation[] |
/reservation |
*POST | Reservation |
Types
type Reservation = {
date: string;
start: string;
end: string;
};