React Todo App
Instructions
Goal
Implement a client-side Todo List application based on given APIs.
Provided
- API in json format
All API example are listed under
./client/api/mock/index.js
- Basic project structure with all dependencies you will need.
- Please use React MDL as style guide for the whole project and try to write as little CSS code as possible.
Set up
Environment preparation
$ node -v
v6.x.x
$ npm -v
v3.10.x
$ yarn --verion
0.16.x
Setup
yarn install
Start server (at localhost:3000)
npm start
Run test (eslint & mocha & nyc)
npm run test
Requirements
Please refer to the mockup for the visual design
Required
- Display a todo list
- Switch tab to show items based on status
- Display item number when tab is active
- Delete an item
- Complete an item
- Add a new todo item
- Edit existing item title
Optional
- Clear completed items
Technical requirements
- 100% test coverage
Dependencies
Others
It uses the API rmal from Spring Boot Api.