Skip to content

☑️ The front-end of a CRUD todo list application made with React.js

Notifications You must be signed in to change notification settings

benfir123/todo-list-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo List

The front-end of a CRUD todo list application made with React.js

API repository

todoapp-screen

Features

  • Add new todo
  • Delete todo
  • Clear todo list
  • Mark todo as done
  • Show todo list
  • Reorder todo list

Technologies used

How to use the app

Step 1

Ensure that you also have the API server running. This app requires a functioning API back-end to work properly. See API repository 👉 link.

Step 2

Clone repository

git clone https://github.com/benfir123/todo-list-client.git
cd todo-list-client

Step 3

Run app in development mode

npm i
npm start

Step 4

Have fun with the different features! - add, delete, clear, mark done, and reorder your todos.

More about the project

This todo list was developed following Test First principles. All the requirements were converted into test cases and code was then refactored to pass said cases. The main piece of business logic was being able to reorder your todos. We decided to use the library react-beautiful-dnd for this. Once the user has selected the new order of their todo list, the array is then rearranged using array splicing. The entire state of the UI is managed using local state from React.

About

☑️ The front-end of a CRUD todo list application made with React.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published