Understand the Enferno project structure
masterEnferno follows a standard Flask application structure. The core logic resides in the enferno/ package, which contains the application factory, configuration, and extensions. Blueprints are used to modularize routes into portal/ (protected), user/ (management), and public/ (unprotected). Static assets like Vue and CSS are located in enferno/static/, while Jinja2 templates are in enferno/templates/.
enferno/
├── enferno/ # Main application package
│ ├── app.py # Application factory
│ ├── settings.py # Configuration
│ ├── extensions.py # Flask extensions
│ ├── commands.py # CLI commands
│ ├── portal/ # Blueprint: Protected routes
│ ├── public/ # Blueprint: Public routes
│ ├── user/ # Blueprint: User management
│ ├── tasks/ # Background tasks (optional Celery)
│ ├── utils/ # Utility functions
│ ├── static/ # Static assets (Vue, Vuetify, CSS)
│ └── templates/ # Jinja2 templates
├── docs/ # Documentation
├── instance/ # SQLite database
├── pyproject.toml # Dependencies and project config
├── setup.sh # Setup script
├── run.py # Entry point
└── docker-compose.yml # Docker configuration