Skip to content

rohit-175/to-do-list

Repository files navigation

Todo List Application

This is a simple Todo List application built with React and Vite. The application allows you to add, edit, delete, and toggle the completion status of todos. It also provides sorting functionality to sort todos in ascending and descending order.

Features

  • Add new todos
  • Edit existing todos
  • Delete todos
  • Toggle the completion status of todos
  • Sort todos in ascending and descending order
  • Persist todos in local storage

Getting Started

Prerequisites

  • Node.js (version 14 or higher)
  • npm (version 6 or higher) or yarn (version 1.22 or higher)

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/todo-list-app.git
  1. Navigate to the project directory:
cd todo-list-app
  1. Install the dependencies:
npm install

Running the Application

To start the development server, run:

npm run dev

Building for Production

To build the application for production, run:

npm run build