OS | Windows 7 |
---|---|
Laptop Brand | Lenovo G560 |
Node.JS Version | v13.13.0 |
NPM Version | v6.14.4 |
This project was bootstrapped with Create React App, using the Redux and Redux Toolkit template.
In the project directory, you can run:
Open http://localhost:8081 to view mock API it in the browser. Open http://localhost:3000 to view the front end in the browser.
API Documentation
Method | Endpoint | Payload | Misc. |
---|---|---|---|
POST | /login | { email, password } | email: [email protected] password: Pass123 |
GET | /appointment | ||
POST | /appointment | { name, date, status } | status: (pending, completed) |
PUT | /appointment/:id | { name, date, status } | status: (pending, completed) |
PATCH | /appointment/:id | { status } | status: (pending, completed) |
DELETE | /appointment/:id |