How pedroo-ivoo/projeto-integrador-ii works
Transporte Seguro is a Flask application for managing school transport and letting families follow transport routes. The main workflow is: users authenticate, authorized staff maintain people and vehicles, assign students to vehicle/driver trips, and view or manage routes. Separate capabilities include email-based account confirmation and password recovery, address geocoding, and employee time records. The graph reflects the README and shown excerpts; route display and several CRUD implementations are represented from the documented/module structure, not inferred call-by-call.
Main entry points: models Application tables · app.py Flask application · usuarios.py Accounts and auth · alunos.py Student records
Components 21
Web and access
- Flask application
app.py - Accounts and auth
blueprints/cadastro/usuarios/usuarios.py - Home and navigation
blueprints/home/home.py
People and records
- Student records
blueprints/cadastro/alunos/alunos.py - Guardian records
blueprints/cadastro/pais/pais.py - Driver records
blueprints/cadastro/motoristas/motoristas.py - Vehicle records
blueprints/cadastro/veiculos/veiculos.py - Employee records
blueprints/pontodigital/ponto.py - Time records
blueprints/pontodigital/ponto.py
Transport operations
- Trip assignments
blueprints/rotas/gerenciamentorotas/rotas.py - Student allocations
blueprints/rotas/gerenciamentorotas/rotas.py - Route display
blueprints/rotas/exibicaorotas/exiberotas.py
Shared services
- Application tables
models - Database and maps config
config.py - Access decorators
utils/decoradores.py - Address geocoding
utils/conversor_lat.py - Email utilities
utils/email_utils.py - Name formatting
utils/formarta_nome_utils.py
Other components
- Browser users
- Google Maps
- Email service
Connections 28
- Browser users → Flask application: sends requests
app.py - Flask application → Accounts and auth: registers blueprint
- Flask application → Home and navigation: registers blueprint
- Flask application → Student records: registers blueprint
- Flask application → Guardian records: registers blueprint
- Flask application → Driver records: registers blueprint
- Flask application → Vehicle records: registers blueprint
- Flask application → Trip assignments: registers blueprint
- Flask application → Route display: registers blueprint
- Flask application → Employee records: registers blueprint
- Accounts and auth → Application tables: queries accounts
blueprints/cadastro/usuarios/usuarios.py - Accounts and auth → Email service: sends confirmation
README.md - Accounts and auth → Email utilities: uses mail helpers
- Home and navigation → Application tables: queries records
blueprints/home/home.py - Student records → Application tables: persists students
blueprints/cadastro/alunos/alunos.py - Guardian records → Application tables: persists guardians
blueprints/cadastro/pais/pais.py - Driver records → Application tables: persists drivers
blueprints/cadastro/motoristas/motoristas.py - Vehicle records → Application tables: persists vehicles
blueprints/cadastro/veiculos/veiculos.py - Employee records → Application tables: creates employees
blueprints/pontodigital/ponto.py - Time records → Application tables: stores time records
blueprints/pontodigital/ponto.py - Trip assignments → Application tables: manages trip records
blueprints/rotas/gerenciamentorotas/rotas.py - Student allocations → Application tables: manages allocations
blueprints/rotas/gerenciamentorotas/rotas.py - Route display → Application tables: reads route data
blueprints/rotas/exibicaorotas/exiberotas.py - Database and maps config → Application tables: configures database
config.py - Guardian records → Address geocoding: geocodes address
blueprints/cadastro/pais/pais.py - Address geocoding → Google Maps: requests coordinates
README.md - Accounts and auth → Access decorators: applies access checks
- Student records → Name formatting: formats names