The Interview Scheduler is a Single Page Application (SPA) built with React. It allows users to book, edit, and cancel interview appointmnets.
The project requires the Interview Scheduler API. Please fork the repository from:
https://github.com/lighthouse-labs/scheduler-api
Follow the intructions provided on the README file to set up the PostgreSQL database required for the project.
Install dependencies with npm install
.
Dependencies:
- axios
- classnames
- normalize.css
- react
- react-dom
- react-scripts
DevDependencies:
- @babel/core
- @storybook/addon-actions
- @storybook/addon-backgrounds
- @storybook/addon-links
- @storybook/addons
- @storybook/react
- @testing-library/jest-dom
- @testing-library/react
- @testing-library/react-hooks
- babel-loade
- prop-types
- react-test-renderer
- sass
From the Scheduler-API root directory:
npm start
From the Scheduler root directory:
npm start
The project used multiple testing frameworks:
- Static testing with the prop-types package.
- Unit testing with Storybook.
- Unit testing and integration testing with Jest and the Testing library.
- End to end testing with Cypress.
npm test
npm run storybook
npm run cypress