Todo App - Manage Your Tasks Efficiently π
A full-stack web-based Todo application to help you organize and track your daily tasks. Built with Node.js, Express, MongoDB, and EJS for server-side rendering.
Features β¨
- Add tasks: Quickly add new tasks with a title and optional description.
- Delete tasks: Remove completed or unnecessary tasks.
- Database storage: Tasks persist in MongoDB Atlas cloud database.
- Responsive design: Works seamlessly on desktop and mobile devices.
Installation π οΈ
- Clone the repository:
git clone https://github.com/VIKYATHB49/todo-app.git
- Navigate to the project directory:
- Install dependencies:
- Set up environment variables:
- Start the server:
- Access the app:
Usage π
Add a task:
- Enter a task title in the input field.
- Click Add Task or press Enter.
Manage tasks:
- β
Mark tasks as complete by checking the checkbox.
- ποΈ Delete tasks using the trash icon.
- π Auto-save: Changes are immediately synced with the database.
Technology Stack π»
Frontend:
- Views: EJS templating engine
- Styling: CSS3, Flexbox, CSS Grid
- Mobile-First responsive design
Backend:
- Runtime: Node.js
- Framework: Express.js
- Database: MongoDB Atlas (Cloud)
- ORM: Mongoose ODM
Configuration βοΈ
MongoDB Setup:
- Create a free cluster at MongoDB Atlas.
- Get your connection URI and add it to
.env
.
Environment Variables:
PORT=3000
MONGODB_URI=mongodb+srv://<username>:<password>@cluster0.example.mongodb.net/todo-app
Contributing π€
Contributions are welcome! Follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -m "Add your message here"
- Push to the branch:
git push origin feature/your-feature-name
- Submit a pull request.
License π
This project is licensed under the MIT License. See LICENSE
for details.
Acknowledgments π
- Inspired by productivity tools like Todoist and Microsoft To-Do.
- Built with Express.js framework and MongoDB database.
- Thanks to the open-source community for invaluable resources.
Happy Tasking! π―
Letβs stay organized and productive together! π