This project is a task management web application developed with React and Vite, specifically designed as teaching material for a course on testing in React. The application allows users to create, edit, delete, and organize tasks, as well as authenticate to maintain their personalized task lists.
The main objective of this project is to provide a practical environment for learning and applying testing techniques in React using react-testing-library. Throughout the course, students will learn to write unit and integration tests for various components and functionalities of the application, thus improving their skills in developing robust and maintainable software.
Key features that will be used for testing demonstrations include:
- User authentication
- CRUD operations for tasks
- Global state management
- API calls (simulated with json-server)
- Conditional rendering and error handling
Through this project, students will gain hands-on experience in writing effective tests, using mocks, and simulating user interactions, all within the context of a real and functional React application.
- User authentication
- CRUD for tasks (Create, Read, Update, Delete)
- Intuitive and responsive user interface
- Mock API with json-server for local development
-
superadmin
- Email: [email protected]
- Password: superadmin123!
-
visualizer1
- Email: [email protected]
- Password: vis1pass456@
-
visualizer2
- Email: [email protected]
- Password: vis2pass789#
-
visualizer3
- Email: [email protected]
- Password: vis3pass101$
-
visualizer4
- Email: [email protected]
- Password: vis4pass202%
-
Unknown User
- Email: awdadw
- Password: dawwda
- React
- Vite
- SCSS Modules
- JSON Server (para mock API)
- Node.js (version 20.10.0 or higher)
- npm or yarn
Install dependencies:
yarn
or if you use npm:
npm install
To start both the development server and the mock API, run:
yarn start
or if you use npm:
npm run start