GithubHelp home page GithubHelp logo

djangoapi's Introduction

Django Todo API

This is a simple todo API allowing authenticated users to create tasks & tasklists. Made with django-rest-framework, drf_spectacular and dj-rest-auth.

Deploy locally

To try it out, just run the following commands :

git clone [email protected]:gerthi/djangoAPI.git
cd djangoAPI

# install the requirements
pip install -r requirements.txt

# setup the database
python manage.py makemigrations todos
python manage.py migrate

# run the server
python manage.py runserver

Open your browser and visit localhost:8080 !

Usage

The following endpoints are available to authenticated users :

  • /tasks/ read, create, edit, delete tasks
  • /tasklists/ read, create, edit, delete tasklists
  • /docs/ view a complete swagger API documentation
  • /auth/ login & logout

Creating users

You can either create users in the CLI by running python manage.py createsuperuser or through the Djangon admin interface.

Improvements

  • Being able to create tasks without a tasklist when there are tasklists available
  • Better authentication
  • Improved documentation

djangoapi's People

Contributors

thibgn 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.