Skip to content

Project Sequence Diagram

Below is a graphic description for the project's workflow.

App Controller

from fastberry import App

Controller = App()

Controller

# Commands 
Controller.cli
# Router 
Controller.router
# GraphQL 
Controller.graphql
# Types 
Controller.types

Project's Structure

root/
|
|--  apps/
|    |
|    `--  MY_APPLICATION/       --> <Directory> - Your App in HERE!
|        |
|        |-- __init__.py
|        |-- commands.py
|        |-- graphql.py
|        |-- router.py
|        `-- types.py
|
`-- etc...

App Plugins

Files

All Your files get loaded to these namespaces

  1. ./commands.py gets loaded to cli
  2. ./router.py gets loaded to router
  3. ./graphql.py gets loaded to graphql
  4. ./types.py gets loaded to types