How thiago-vieira1/taskup-api works
TaskUp is a Django REST API for managing users, task categories, tasks, subtasks, notifications, and task history. Clients enter through the configured API routes; viewsets handle requests and use serializers and Django models for validation and persistence. The task endpoint additionally supports filtering, search, and ordering. Login issues token credentials, while the API schema has Swagger and ReDoc routes. The SQLite database and API wiring are explicit in settings and URL configuration; unsampled runtime behavior is not inferred.
Main entry points: urls.py API routes · serializers.py Task serializers · models.py Task and user models · views.py Token login
Components 14
API routing
- API routes
config/urls.py - API schema and docs
config/urls.py
Identity
- Token login
tarefas/views.py - User endpoints
tarefas/views.py - User serialization
tarefas/serializers.py
Task management
- Category endpoints
tarefas/views.py - Task endpoints and filters
tarefas/views.py - Subtask endpoints
tarefas/views.py - Notification endpoints
tarefas/views.py - Task history endpoints
tarefas/views.py - Task serializers
tarefas/serializers.py
Persistence
- Task and user models
tarefas/models.py - SQLite database
Other components
- API client
Connections 20
- API client → API routes: sends requests
config/urls.py - API routes → Token login: routes login
config/urls.py - API routes → User endpoints: routes users
config/urls.py - API routes → Category endpoints: routes categories
config/urls.py - API routes → Task endpoints and filters: routes tasks
config/urls.py - API routes → Subtask endpoints: routes subtasks
config/urls.py - API routes → Notification endpoints: routes notifications
config/urls.py - API routes → Task history endpoints: routes history
config/urls.py - API routes → API schema and docs: routes schema
config/urls.py - Token login → User serialization: validates credentials
tarefas/views.py - Token login → Task and user models: authenticates user
tarefas/views.py - User endpoints → User serialization: serializes users
tarefas/views.py - Category endpoints → Task serializers: serializes categories
tarefas/views.py - Task endpoints and filters → Task serializers: serializes tasks
tarefas/views.py - Subtask endpoints → Task serializers: serializes subtasks
tarefas/views.py - Notification endpoints → Task serializers: serializes notifications
tarefas/views.py - Task history endpoints → Task serializers: serializes history
tarefas/views.py - User serialization → Task and user models: maps users
tarefas/serializers.py - Task serializers → Task and user models: maps task entities
tarefas/serializers.py - Task and user models → SQLite database: persists records