https://github.com/bigprogrammers/django-todo-app
A beginner-friendly Django project to build a fully functional To-Do app. This repository includes a step-by-step implementation of models, views, templates, and CRUD operations, with a clean and user-friendly UI.
https://github.com/bigprogrammers/django-todo-app
Last synced: over 1 year ago
JSON representation
A beginner-friendly Django project to build a fully functional To-Do app. This repository includes a step-by-step implementation of models, views, templates, and CRUD operations, with a clean and user-friendly UI.
- Host: GitHub
- URL: https://github.com/bigprogrammers/django-todo-app
- Owner: bigprogrammers
- Created: 2024-12-22T19:32:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-22T19:54:38.000Z (over 1 year ago)
- Last Synced: 2025-01-21T19:43:58.518Z (over 1 year ago)
- Language: Python
- Size: 728 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Django To-Do App
## π Overview
This repository contains the source code for a simple To-Do application built with Django. The project demonstrates the use of Django's models, views, templates, and forms to perform CRUD (Create, Read, Update, Delete) operations. It's an ideal beginner-friendly project to learn and practice Django fundamentals.
---

## π Features
- Add new tasks
- View all tasks in a list
- Mark tasks as complete or incomplete
- Edit existing tasks
- Delete tasks
- User-friendly interface with Bootstrap
---
## π οΈ Tech Stack
- **Backend:** Django (Python)
- **Database:** SQLite (default Django database)
- **Frontend:** HTML, CSS, and Bootstrap
---
## π Project Structure
```plaintext
django-todo-app/
β
βββ todo/
β βββ migrations/ # Database migrations
β βββ templates/ # HTML templates for the app
β β βββ base.html # Base template for all pages
β β βββ index.html # Home page template
β β βββ form.html # Template for adding/editing tasks
β βββ static/ # Static files (CSS, images, etc.)
β βββ models.py # Task model definition
β βββ views.py # Logic for handling requests and responses
β βββ urls.py # URL routing for the app
β βββ admin.py # Django admin customization
β
βββ manage.py # Django project management script
βββ db.sqlite3 # SQLite database file
βββ requirements.txt # Python dependencies
βββ README.md # Project documentation
```
---
## βοΈ Setup and Installation
### Prerequisites
- Python 3.x installed
- pip (Python package manager)
### Steps
1. Clone the repository:
```bash
git clone https://github.com/your-username/django-todo-app.git
cd django-todo-app
```
2. Create a virtual environment:
```bash
python -m venv env
source env/bin/activate # On Windows: env\Scripts\activate
```
3. Install dependencies:
```bash
pip install -r requirements.txt
```
4. Apply migrations:
```bash
python manage.py migrate
```
5. Run the server:
```bash
python manage.py runserver
```
6. Open your browser and navigate to:
```
http://127.0.0.1:8000
```
---
## πΌοΈ Screenshots
### Home Page

### Register

### Login

---
## π€ Contributing
Contributions are welcome! Here's how you can contribute:
1. Fork the repository
2. Create a feature branch:
```bash
git checkout -b feature-name
```
3. Commit your changes:
```bash
git commit -m "Add your message here"
```
4. Push to the branch:
```bash
git push origin feature-name
```
5. Submit a pull request
---
## π License
This project is licensed under the MIT License. See the `LICENSE` file for details.
---
## β Acknowledgements
- Django documentation: [https://docs.djangoproject.com/](https://docs.djangoproject.com/)
- Bootstrap framework: [https://getbootstrap.com/](https://getbootstrap.com/)
---
### π If you found this helpful, please give this repository a star!
```
Let me know if thereβs anything youβd like to add or modify!