Test task for one of the companies. Django REST TODO on steroids with metrics and subtasks
MIT License
Test task for one of the companies. Django REST TODO on steroids with metrics and subtasks. Main goal is to todo simple TODO (REST API) with metrics (analytics) and also stuff like sub-tasks, completion and tracking
Project is being deployed to staging. You can try project here (Click!)
TBD: Document annotations
/tokens/login
(password, username)/tokens/signup
(password, username)/tokens/info
/tasks
/tasks/metrics
Pass Authorization
header as Token {YOUR_TOKEN_FROM_AUTH}
Project uses Docker, to run use:
git clone https://github.com/kirillzhosul/django-advanced-todo.git
cd django-advanced-todo/src
cp .example.server.env .server.env
cp .example.database.env .database.env
cp .example.env .env
docker-compose up
.Currently in staging, static files is being served by Ngninx (plus Django collectstatic
)
On the development, static files is avaliable when using django runserver
(Used only for admin page for now)
Run docker exec -it django-advanced-todo-server-1 /bin/sh
and then python manage.py makemigrations && python manage.py migrate
this will trigger all database migrations!
You can modify environment variables inside /src/.server.env
file that will be passed to the server with Docker.
Example file can be copied from /src/.example.server.env
main
branchRun docker exec -it django-advanced-todo-1 /bin/sh
and then python manage.py test
this will trigger all tests!