This is a simple CRUD (Create, Read, Update, Delete) TODO list application built with React. It allows users to add, delete, update, and view tasks.
- Add new tasks
- Delete existing tasks
- Update tasks
- View list of tasks
To get a local copy up and running follow these simple steps:
# Prerequisites
- Node.js installed on your local machine
# Installation
# 1. Clone the repository
git clone https://github.com/sumit-tft/reactjs-crud.git
# 2. Navigate to the project directory
cd reactjs-crud
# 3. Install dependencies
npm install
# 4. Usage
npm start
# 5. Start json-server to serve the API
npx json-server --watch db.json --port 3001
# 6. How to Use
- Enter a task in the input field and press "Add Todo" to add it to the list.
- Click the "Edit" button next to a task to edit its text.
- Click the "Delete" button next to a task to remove it from the list.