A simple Todos Management App built with React.js, Zustand, and Tailwind CSS, using the DummyJSON Todos API. The app supports CRUD operations (Create, Read, Update, Delete) for Todos with pagination, and it persists data locally using localStorage
- CRUD Operations: Create, delete, and update toggle completion of Todos.
- Pagination: Display Todos with navigation controls.
- State Management: Global state with Zustand.
- Local Persistence: Todos are stored in localStorage for data persistence.
- Notifications: Toast notifications for success/error messages using react-hot-toast.
- Icons: lucide-react icons for UI components.
- Responsive Design: Built with Tailwind CSS for a mobile-first, responsive layout.
- React.js
- Tailwind CSS
- Zustand (State Management)
- Axios (API Calls)
- localStorage (for persistence)
Ensure you have the following installed:
Clone this repository to your local machine:
git clone https://github.com/your-username/todo-assignment.git
cd todo-assignment
npm install
npm run dev
Visit http://localhost:3000
in your browser to access the application.
npm run build
This will create a dist folder containing optimized files for deployment.
- By Dhruti Thakkar