π A simple and efficient To-Do List App built with Next.js that allows users to add, edit, delete, and mark tasks as completed. This project helped me explore the power of Next.js, React Hooks, Local Storage, and Tailwind CSS.
- β Add Todos: Quickly add new tasks.
- π Edit Todos: Modify existing tasks.
- β Delete Todos: Remove completed or unnecessary tasks.
- βοΈ Mark as Completed: Track task progress.
- πΎ Persistent Storage: Uses LocalStorage to save tasks.
- π¨ Modern UI: Styled with Tailwind CSS for a sleek design.
- Next.js β SSR, optimized performance
- React.js β Component-based UI
- Tailwind CSS β Modern styling
- LocalStorage β Data persistence
π¦ todo-list-app
βββ π pages
β βββ index.js (Home Page)
β βββ about.js (About Us Page)
β βββ contact.js (Contact Page)
β βββ todos.js (My Todos Page)
β βββ edit/[id].js (Edit Todo Page)
βββ π components
β βββ Header.js
β βββ Footer.js
β βββ TodoItem.js
β βββ Modal.js
β βββ AddTodo.js
βββ π styles (Tailwind CSS styles)
βββ README.md
1οΈβ£ Clone the repository
git clone https://github.com/sahilkhurana01/todo-list-app.git
cd todo-list-app
2οΈβ£ Install dependencies
yarn install # or npm install
3οΈβ£ Run the development server
yarn dev # or npm run dev
π Open http://localhost:3000 to view in the browser.
- How to manage state using React Hooks (useState, useEffect)
- Implementing dynamic routing in Next.js
- Using LocalStorage for data persistence
- UI design with Tailwind CSS
- πΉ User Authentication (NextAuth, Firebase, or JWT)
- πΉ Database Integration (MongoDB, PostgreSQL, or Firebase)
- πΉ Drag & Drop feature for reordering tasks
- πΉ Dark Mode Support
π Attached below
next.js.todo.app.mp4
Feel free to fork, clone, and contribute to this project. PRs are welcome! π
This project is open-source and available under the MIT License.