/todo-logfy

An app TO-DO LogFy

Primary LanguagePythonMIT LicenseMIT

todo-logfy

An app TO-DO LogFy


Fronend




Backend

Starting the project with Docker

Buildind the image Docker

    docker build -t logfy .

Starting the container

    docker run -p 8000:8000 logfy

Acesse: localhost:8000/admin



Starting locally

Install the dependencies:

    pip install -r requirements.txt

Run migrate:

    python manage.py migrate

Create a super user:

    python manage.py createsuperuser

Starting the server:

    python manage.py runserver

Acesse: localhost:8000/admin



Endpoints


Endpoint Type
board/ GET
cards/ GET
cards/int:id/card/ POST
boards/board-create/ POST

Example


Endpoint: cards/int:id_board/card/

Fields Type Example Required
title varchar Create an API True
content text Create an API True
user int 2365 False
labels text #CCC False

{
    "title": "Create an API",
    "content": "Create an API",
    "status": "draft",
    "labels": "#CCC"
}

Endpoint: boards/board-create/

Fields Type Example Required
title varchar Draft True
creatable boolean True True
done boolean False False

{
    "title": "Done",
    "creatable":false,
    "done":true
}