A basic Todozi app to help you remember and get things done. Built with React, Vite, and Tailwind CSS.
- ✅ Initialize Vite + React project
- ✅ Tailwind CSS setup
- ✅ Basic folder structure created
- ✅ Add a new task
- 🗑️ Delete an existing task
- 📌 Mark tasks as complete/incomplete/deleted
- ↹ Have a tab wise todo list (all, active, completed, pending )
- 💾 Data persists using
localStorage(optional)
- Node.js installed on your computer
- A code editor (like VS Code or trending Cursor)
- Knowledge of HTML,CSS, JavaScript, ReactJS and TailwindCSS
Imp: Directly clone using git clone CLONE_URL and run below to initall node_modules
git clone https://github.com/Shashank97code/todozi.git
cd my-todo-app
npm install
npm run devnpm create vite@latest todozi -- --template react
cd my-todo-app
npm install# Install Tailwind CSS and its dependencies
npm install -D tailwindcss postcss autoprefixer
# Initialize Tailwind config files
npx tailwindcss init -pOpen tailwind.config.js and replace with:
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {},
},
plugins: [],
};Open src/index.css and replace everything with:
@tailwind base;
@tailwind components;
@tailwind utilities;npm run devOpen your browser and go to http://localhost:5173
npm run dev- Start the appnpm run build- Build for productionCtrl + C- Stop the app
my-todo-app/
├── src/
│ ├── App.jsx (Main app file)
│ ├── main.jsx (App entry point)
│ └── index.css (Styles)
├── index.html (HTML template)
└── package.json (Dependencies)
- React - Makes websites interactive
- Vite - Fast development server
- Tailwind CSS - Easy styling with classes
- Open
src/App.jsxand start building your Todo app - Use Tailwind classes like
bg-blue-500,text-white,p-4for styling - Add state with
useStatefor managing todos - Save todos to localStorage to remember them
bg-blue-500- Blue backgroundtext-white- White textp-4- Paddingm-2- Marginrounded- Rounded cornersshadow- Drop shadowhover:bg-blue-600- Hover effect
- Check the browser console for errors (F12)
- Make sure Node.js is installed
- Try
npm installif something doesn't work
Good luck building your Todozi app! 🚀