Skip to content

jeslipriya/ToDo-React

Repository files navigation

To-Do List App

A simple and user-friendly To-Do List App built with React.js and Vite.

Features

  • Add new tasks with Catergory and level of importance
  • Edit tasks (optional)
  • Delete tasks
  • Mark tasks as completed
  • Filter tasks (All, Completed, Pending)
  • User authentication (Login & Register) (optional)
  • Stores tasks in localStorage
  • Dark Mode

Project Structure

my-todo-app/
├── public/                   # Static files
│   ├── favicon.ico           # App icon
│   ├── index.html            # Main HTML file
│
├── src/                      # Source files
│   ├── components/           # Reusable components
│   │   ├── AuthForm.jsx      # Authentication form component
│   │   ├── FilterButtons.jsx # Todo filter buttons
│   │   ├── TodoForm.jsx      # Todo input form
│   │   ├── TodoItem.jsx      # Single todo item
│   │   └── TodoList.jsx      # List of todos
│   │
│   ├── pages/                # Page components
│   │   ├── LoginPage.jsx     # Login page
│   │   ├── RegisterPage.jsx  # Registration page
│   │   └── TodoPage.jsx      # Main todo page
│   │
│   ├── utils/                # Utility functions
│   │   └── auth.js           # Authentication logic
│   │
│   ├── App.jsx               # Main app router
│   ├── main.jsx              # App entry point
│   └── styles.css            # Global styles
│
├── .gitignore                # Git ignore rules
├── package.json              # Project dependencies and scripts
├── package-lock.json         # Lockfile
├── README.md                 # Project documentation
└── vite.config.js            # Vite configuration

Installation & Setup 🛠

  1. Clone the repo
git clone https://github.com/jeslipriya/ToDo-React.git
cd ToDo-React
  1. Install dependencies
npm install
  1. Run the app
npm run dev

Technologies Used 🛠

  • React.js - Frontend framework
  • Vite - Build tool
  • CSS - Styling
  • localStorage - Data persistence

Future Improvements

  • Undo Task Deletion
  • Mobile Responsive UI
  • Task Statistics

Made by Jesli

About

ToDo Application using React.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published