/TodoList-Django

A simple ToDo list using Django framework. User can login or register to add, edit, delete and view tasks.

Primary LanguagePython

ToDo List Using Django Framework

Introduction

This is a simple ToDo list application using Django framework. After user login or register he/she is allowed you to add, edit, delete and view their own tasks.

API Endpoints

  • GET / - Get all todos
  • GET /detailed/:id - Get detailed todo
  • POST /createTodo/ - Create a todo
  • POST /updateTodo/:id - Update a todo
  • DELETE /deleteTodo/:id - Delete a todo
  • POST /signup - Create a user
  • POST /login - Login a user
  • GET /logout - Logout a user
  • GET /completedTodos - Get all completed todos

Requirements

  • Python 3.6
  • Django 2.0.2

Installation

  • Clone the repository
git clone https://github.com/MarwaAbdelAal/TodoList-Django.git
  • Create a virtual environment and activate it
python3 -m venv env
source env/bin/activate
  • Install the requirements
pip install -r requirements.txt

Usage

  • Run the server
python manage.py runserver

Screenshots

  • Sign up page signup

  • Login page login

  • Home page with search and filter options home

  • Add todo page Add todo

  • Edit todo page updateTodo