GithubHelp home page GithubHelp logo

todo-backend's Introduction

**A Todo Backend application**

This is the backend implementation of the to-do list application. The API is implemented using the latest standards of Django, Django RESTful and Python.

Features

  • Django 4.3, djangorestframework 3.13, drf-nested-routers, django-cors-headers, social-auth-app-django, django-oauth-toolkit, drf-social-oauth2 & Python 3.9
  • Install via Pipenv
  • User social auth with Facebook.
  • Logged in users will be able to mark an uncomplete to-do item as complete, and vise-versa.
  • When a user logs in, he/she see a list of all her uncompleted to-do items.
  • The user can use a toggle feature to toggle between uncompleted and completed items.
  • The user can delete items from the to-do list
  • Each person can only see the to-do items she creates for herself.

The code style used for the project is PEP 8 -- Style Guide for Python Code and Flake8: For Style Guide Enforcement.


Table of Contents


Installation

The application can be installed via Pipenv. To start, clone the repo to your local computer and change into the proper directory.

$ git clone https://github.com/Fachiis/todo-backend.git
$ cd todo-backend
$ pipenv install
$ pipenv shell
(todo-backend) $ python manage.py makemigrations
(todo-backend) $ python manage.py migrate
(todo-backend) $ python manage.py createsuperuser
(todo-backend) $ python manage.py runserver
# Load the site at http://127.0.0.1:8000/api/v1

Setup

# Run Migrations
(todo-backend) $ python manage.py migrate

# Create a Superuser
(todo-backend) $ python manage.py createsuperuser

# Confirm everything is working:
(todo-backend) $ python manage.py runserver

# Load the site at http://127.0.0.1:8000/api/v1

todo-backend's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.