This is an advanced To-Do application built using React, Redux, and Tailwind CSS. It includes authentication (mock login/logout), external API integration (weather data), and task prioritization, ensuring an enhanced user experience.
✅ User Authentication (Mock login/logout using Redux) ✅ Task Management (Add, Delete, Prioritize tasks) ✅ Persistent Storage (Tasks saved in local storage) ✅ API Integration (Fetch weather data for outdoor tasks) ✅ Responsive UI (Tailwind CSS for a modern and mobile-friendly design) ✅ Protected Routes (Only logged-in users can access tasks)
📦 advanced-todo-app
┣ 📂 src
┃ ┣ 📂 components
┃ ┃ ┣ 📜 TaskInput.jsx
┃ ┃ ┣ 📜 TaskList.jsx
┃ ┃ ┣ 📜 TaskItem.jsx
┃ ┣ 📂 pages
┃ ┃ ┣ 📜 Home.jsx
┃ ┃ ┣ 📜 Login.jsx
┃ ┣ 📂 redux
┃ ┃ ┣ 📜 taskSlice.js
┃ ┃ ┣ 📜 authSlice.js
┃ ┃ ┣ 📜 store.js
┃ ┣ 📂 services
┃ ┃ ┣ 📜 api.js
┃ ┣ 📂 styles
┃ ┃ ┣ 📜 global.css
┃ ┣ 📜 App.jsx
┃ ┣ 📜 main.jsx
┣ 📜 package.json
┣ 📜 README.md
Ensure you have Node.js and npm/yarn installed.
$ git clone https://github.com/vasusharma-code/to-do
$ cd advanced-todo-app$ npm install # OR yarn install$ npm run dev # OR yarn devThis app fetches real-time weather data from OpenWeather API for high-priority tasks.
- Get an API Key from OpenWeather
- Replace
YOUR_WEATHER_API_KEYinsrc/services/api.js - Restart the application
The app is designed with Tailwind CSS for a sleek, modern, and fully responsive layout.
✅ Functionality – Features should work as expected
✅ Code Quality – Clean, modular, and follows best practices
✅ Design & UX – Responsive, visually appealing, and user-friendly
✅ API Integration – Successfully fetches and displays external data
For any queries or suggestions, feel free to reach out! 😊