Skip to content

App Project Structure Documentation

DeepBlockDeepak edited this page Dec 8, 2023 · 2 revisions

Project Structure

The application is structured around Flask Blueprints, making it modular and easy to maintain. Key components of the project structure include:

  • app/: Contains the Flask app and its modules.
    • auth/, dashboard/, places/, travel/, user_profile/, utility/: Flask Blueprints for different aspects of the application, each containing their own routes and logic.
    • forms.py: Contains FlaskForms used across the application.
    • models.py: Defines database models and relationships. See the RoadTripPlanner Database Schema Documentation.
    • static/: Static files like images and CSS.
    • templates/: HTML templates used for rendering views.
  • scripts/: Scripts for database setup and other tasks.
  • tests/: Test cases for the application.
  • config.py: Configuration settings for the application.
  • database.py: Database initialization.
  • run.py: The entry point for running the Flask application.
Clone this wiki locally