project-structure.md
docs
project-structure.md
Project Structure
For best practices, here's the recommended folder structure for a Fenrir project:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | |
Structure Explanation:
- app.py: Main file containing Fenrir application initialization
- templates/: All Jinja2 HTML files stored here
- static/: CSS, JavaScript, and images stored here
- routes/: Blueprints and route handlers organized in separate files
- models/: Pydantic models for data validation
- utils/: Helper functions and custom validators
- tests/: Unit tests and integration tests
- uploads/: Folder for storing user-uploaded files
Example requirements.txt:
1 2 3 4 5 6 7 | |