An app TO-DO LogFy
docker build -t logfy .
docker run -p 8000:8000 logfy
Acesse: localhost:8000/admin
pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
Acesse: localhost:8000/admin
Endpoint | Type |
---|---|
board/ | GET |
cards/ | GET |
cards/int:id/card/ | POST |
boards/board-create/ | POST |
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"
}
Fields | Type | Example | Required |
---|---|---|---|
title | varchar | Draft | True |
creatable | boolean | True | True |
done | boolean | False | False |
{
"title": "Done",
"creatable":false,
"done":true
}