React frontend for our shift scheduling and swapping web app! We used Cypress for testing, and react-big-calendar for the calendar component. You can find the Rails API backend for this project here.
Here is a link to our deployed frontend on Surge
Here is our card wall for the entire project (frontend and backend). Here is a link to our Wiki which kept up-to-date with new stuff that we learned.
This project requires the use of our Rails API backend, so make sure you have that installed and running on a port other than http://localhost:3000.
- Clone the repository
- Run
npm installto install local dependencies - Run
npm startto start the React app athttp://localhost:3000 - Run
npx cypress opento run the feature tests in Cypress. The app and backend API must be running for the tests to execute. - Run
npm testto run the unit tests in Jest/Enzyme. The app does not need to be running for these tests. - Run
npm test -- --coverageto check test coverage.
If you have any suggestions, please create a GitHub issue, or feel free to make a pull request!
