Basic Scripts to run project
You should clone this repository and run npm install
from the correct directory within your terminal. Once all of the files are installed, you should be able to:
- Run
npm run dev
- you should see the following:🚄 Server running @ http://localhost:4000
This command runs with nodemon to auto-reload - Run
npm run devStart
- starts FE of project with webpack and opens localhost page automatically in browser - Run
npm run build
- to bundle project for production and create dist folder for deployment - Run
npm t
- to test project using jest - Run
npm run cypress
- to run e2e tests using cypress
- Testing - e2e, integrations, route testing was completed at a basic level to ensure rudimentary testing of project. Used Husky to test automatically pre-commit and pre-push
- Agile - Using Github projects and always 'moving forward' in an agile manner. Any fixes were raised as new issues.
- Load and display the todo items
title
from http://localhost:4000/api/todos ordering them on their ID in descending order - Display the total number of todo items
- Display the completed number of todo items
- Add styling
- Husky
- React
- Redux
- Redux DevTools
- Cypress
- Jest
- Supertest
- React Testing Library
- Styled Components
- Webpack
- Babel
- Deploy on Heroku
- Connect completed tasks component to update automatically when component
- Build more in depth tests to test API responses and react components
- Add more features such as authentication so that users can create their own to-do lists
- See Github project for other issues in the pipeline.