How unbarqdsw2021-2/2021.2_g4_cadernetadecampodigital_backend works
Main System Components
The system should be represented as a Django-based REST API with the following main components:
a. Core Application Modules:
• User Management (usuario)
• Producer Management (produtor)
• Technical Management (tecnico)
• Property Management (propriedade)
• Plot Management (talhao)
• Cultivation Management (cultura)
• Pesticide Management (agrotoxico)
• Planting Management (plantio)
• Field Notebook Management (caderneta)
b. Infrastructure Components:
• Docker Container Environment
• Database (PostgreSQL, based on Django usage)
• Authentication System (Token-based, evident from usuario/serializers/token.py)
┌─────────────────────────────────────────────┐
• Client Applications │
• ┘
• ↕
┌─────────────────────────────────────────────┐
• API Gateway Layer │
• ┘
• ↕
┌─────────────────────────────────────────────┐
• Django REST Framework │
• ┬─────────────┬─────────────────┤
• Views │ Serializers │ URLs │
• ┴─────────────┴─────────────────┘
• ↕
┌─────────────────────────────────────────────┐
• Business Logic │
• ┬─────────────┬─────────────────┤
• Models │ Services │ Admin │
• ┴─────────────┴─────────────────┘
• ↕
┌─────────────────────────────────────────────┐
• Database │
• ┘
Specific Module Details
For each core module, show:
• API endpoints (grouped by functionality)
• Authentication requirements
• Data flow direction
Additional Elements
Supporting components:
• Docker container boundaries
• CI/CD pipeline integration points (shown by GitHub Actions)
• Test coverage monitoring (CodeCov integration)
• Code quality checks (CodeClimate integration)