A full-stack Todo List application built with React and Vite. The application allows users to create, edit, complete, delete, search, filter, and sort tasks through a clean and responsive interface.
https://todo-list-perfect3.vercel.app
https://github.com/MrPerfeccct/todo-list
- User authentication
- Protected routes
- Create new tasks
- Edit existing tasks
- Mark tasks as completed
- Delete tasks
- Search tasks
- Filter tasks by status
- Sort tasks by title or creation date
- Responsive design for desktop and mobile devices
- Input validation
- Input sanitization using DOMPurify
- Polished hover and focus states
- React
- React Router
- Vite
- JavaScript ES6+
- CSS
- DOMPurify
- REST API
- Vercel
Clone the repository:
git clone https://github.com/MrPerfeccct/todo-list.gitNavigate into the project:
cd todo-listInstall dependencies:
npm installStart the development server:
npm run devOpen the local URL displayed in the terminal.
Create a production build:
npm run buildPreview the production build:
npm run previewThis project uses global CSS through App.css.
I chose this approach because the application is small, the styling is centralized, and the component structure is simple enough to avoid style conflicts. The CSS is organized by sections and includes responsive breakpoints, hover states, focus states, and custom checkbox styling to clearly show completed and active tasks.
- Dark modern UI with a consistent color scheme
- Simple navigation using React Router
- Reusable React components
- Reducer-based state management for todo actions
- Client-side validation for better user experience
- Sanitized user input for improved security
- Responsive layout for mobile and desktop screens
- Vercel configuration for production deployment
- Add unit tests for critical components
- Implement Progressive Web App features
- Add a dark/light theme toggle
- Improve task persistence with localStorage or backend API enhancements
- Add drag-and-drop functionality for reordering todos
This project is licensed under the MIT License.
GitHub: https://github.com/MrPerfeccct Portfolio: https://mrperfeccct.github.io/My-portfolio/ Live Demo: https://todo-list-perfect3.vercel.app