- 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
ROUTE | METHOD | RESPONSE |
---|---|---|
/reservation/all |
GET | Reservation[] |
/reservation |
*POST | Reservation |
type Reservation = {
date: string;
start: string;
end: string;
};