Install dependencies with npm install
.
SetUp DataBase (psql)
- git clone : https://github.com/saeonny/scheduler-api
- Read and Follow README
We need 2 different Terminals to run Webpack Development Server with database since Interview Scheduler fetchs data from scheduler-api server
npm start
- Make sure that api server working : http://localhost:8001/api/days
- How to reset Database : http://localhost:8001/api/debug/reset
- error mode:
npm run error
npm start
- [day] We can select day : Monday, Turesday, Wednesday, Thursday, and Friday
- [remaining spots] each day can show [ ] spots remaining ex. on Monday there are 3 spots that are avilable to book an interview
- we can book/add an interview by clicking ( + ) sign
- we can go back by clicking "Cancel" button
- type student name: Saeonny and select interviewer then click "Save" button to add an interview
When you click or hover over an existing apppointment 4. [Edit] We can edit existing appointment : can change the student's name and re-select the interviewer 5. [Delete] We can Delete an existing appointment
6. [Handling Errors] : we show the error message if we failed to save or delete or edit an appointment then we show the error page with appropriate message
npm test
npm run storybook
npm run cypress