Code Monkey home page Code Monkey logo

djangoresttodo's Introduction

Test task ToDo on Django Rest Framework

Installation

Clone a repository
git clone https://github.com/vadushkin/DjangoRestToDo.git
Change a folder
cd DjangoRestToDo
Venv
python -m venv venv
.\venv\Scripts\activate
pip install --upgrade pip
pip install -r requirements.txt
Poetry
poetry install
poetry shell

Create file .env

Fill in the data in the file .env

Example:

SECRET_KEY=
DEBUG=

MYSQL_ENGINE=
MYSQL_NAME=
MYSQL_USER=
MYSQL_PASSWORD=
MYSQL_HOST=

EMAIL_BACKEND=
EMAIL_HOST=
EMAIL_PORT=
EMAIL_HOST_USER=
EMAIL_HOST_PASSWORD=
EMAIL_USE_TLS=
EMAIL_USE_SSL=
Migrate
python manage.py migrate
Admin Panel
python manage.py createsuperuser
Run
python manage.py runserver

Celery

Worker
celery -A config worker --pool=solo -l info
Beat
celery -A config beat -l info

Redis

docker run -d -p 127.0.0.1:16379:6379 redis 

Api

  • admin/

To-do:

  • to-do/

  • to-do/boards-list/

  • to-do/board-create/

  • to-do/board-upd-del/int:pk/

  • to-do/todo-create/

  • to-do/todo-list/int:pk/

  • to-do/todo-update/int:pk/

  • to-do/todo-delete/int:pk/

  • to-do/todo-list-undone/int:pk/

  • to-do/swagger/

  • to-do/redoc/

Mention:

  • mention/
  • mention/reminder-list/
  • mention/reminder-create/
  • mention/reminder-delete/int:pk/

djangoresttodo's People

Contributors

vadushkin avatar

Stargazers

 avatar  avatar  avatar  avatar

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.