This is a simple Todo App project built using Django and PostgreSQL. The application allows users to create, manage, and track their daily tasks and to-do lists.
-
Create Todo: Users can add new tasks to their Todo list with a title, description, and due date.
-
Update and Delete Todo: Users can modify or remove tasks from their Todo list.
Before running the Todo App, make sure you have the following installed:
- Python (version 3.10)
- Django (version 3.x)
- PostgreSQL (version 9.x or later)
- Clone the repository:
git clone https://github.com/Keraskp/task-master.git
cd task-master
- Create and activate a virtual environment (optional but recommended):
python -m venv env
source env/bin/activate # On Windows use: env\Scripts\activate
- Install the required packages:
pip install -r requirements.txt
-
Set up the PostgreSQL database:
-
Create a new PostgreSQL database and note down the credentials (database name, username, and password).
-
Update the database settings in the
settings.py
file located in thetodo
folder:DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': 'your_db_name', 'USER': 'your_db_username', 'PASSWORD': 'your_db_password', 'HOST': 'localhost', # or your_db_host 'PORT': '5432', # or your_db_port } }
-
-
Run database migrations:
python manage.py migrate
- Create a superuser (admin) account (optional but recommended):
python manage.py createsuperuser
- Run the development server:
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
- Open your web browser and go to
http://localhost:8000
to access the Todo App.
-
Register a new account or log in with an existing one.
-
Once logged in, you'll be taken to the Todo dashboard where you can view and manage your tasks.
-
Click on "Add Todo" to create a new task. Provide a title, description, and due date for the task.
-
To edit or delete an existing task, click on the respective task in the list.
-
Mark a task as completed by checking the checkbox next to it.
-
Use the filter and sort options to organize your tasks based on various criteria.
Contributions to this Todo App project are welcome! If you find any bugs or want to add new features, please fork the repository and create a pull request.
This project is licensed under the MIT License.
Happy task organizing with the Todo App! If you have any questions or need further assistance, feel free to contact us.