📝 TODO Application - https://todo-zmdt.onrender.com
A simple task management app where you can create, organize, and get email reminders for your tasks.
Download from nodejs.org
npm installCreate a .env file in the project folder:
MONGODB_URI=mongodb://localhost:27017/todoapp
PORT=3000
[email protected]
EMAIL_PASSWORD=your_app_password
# macOS
brew services start mongodb-community
# Linux
sudo systemctl start mongod
# Windows
net start MongoDBnpm startVisit: http://localhost:3000
- ✅ Create and manage tasks
- 🎯 Set priority (Low, Medium, High)
- 📂 Organize by type (Work, Personal, Study)
- 🔍 Search and filter tasks
- 📅 Get email reminders automatically
- ⚡ Real-time updates
- Click the "+" button
- Fill in task details
- Click "Save Task"
- All - See all tasks
- Today - Today's tasks only
- Upcoming - Future tasks
- Previous - Past tasks
Click the search icon and type to find tasks
Click the checkbox next to a task
Double-click a task to edit it
- Frontend: HTML, CSS, JavaScript
- Backend: Node.js + Express
- Database: MongoDB
- Email: Nodemailer
- Go to Google Account
- Enable 2-Factor Authentication
- Generate an App Password
- Copy the 16-character password to
.envasEMAIL_PASSWORD
- Make sure MongoDB is running
- Check if
MONGODB_URIis correct in.env
- Change
PORT=3001in.env - Or:
lsof -ti:3000 | xargs kill -9(macOS/Linux)
- Verify email and password in
.env - Make sure you used an App Password, not your regular password
- Check server logs:
npm run dev
TODO/
├── server.js # Main server file
├── script.js # Frontend code
├── style.css # Styling
├── models/Task.js # Database model
├── routes/tasks.js # API routes
├── services/ # Email & scheduler
├── views/index.ejs # HTML template
├── package.json # Dependencies
└── README.md # This file
GET /api/tasks - Get all tasks
POST /api/tasks - Create new task
PUT /api/tasks/:id - Update task
DELETE /api/tasks/:id - Delete task
- Tasks are saved automatically to MongoDB
- Emails send at the scheduled task time (server must be running)
- Double-click to edit, click checkbox to complete
Version: 1.0.0 | License: ISC