Project Sequence Diagram
Below is a graphic description for the project's workflow.
App Controller
Controller
# Commands (1)
Controller.cli
# Router (2)
Controller.router
# GraphQL (3)
Controller.graphql
# Types (4)
Controller.types
- Commands — Built with Click Commands.
- Routes — Built with FastAPI.
- GraphQL —
Query
(s) andMutation
(s) Built with Strawberry. - Types —
GraphQL
Strawberry Types.
Project's Structure
App Plugins
Files
All Your files get loaded to these namespaces
./commands.py
gets loaded tocli
./router.py
gets loaded torouter
./graphql.py
gets loaded tographql
./types.py
gets loaded totypes
sequenceDiagram
autonumber
Your Code -->Fastberry: Create Your Code;
Note over Your Code,Fastberry: Project;
loop Fastberry
Your Code -->Fastberry: Create Components;
Note over Your Code,Fastberry: CLI (Commands);
Note over Your Code,Fastberry: API (Routes);
Note over Your Code,Fastberry: GraphQL (Operations);
Note over Your Code,Fastberry: GraphQL (Types);
Fastberry -->Your Code: Your Components Are Loaded;
Note over Your Code,Fastberry: commands;
Note over Your Code,Fastberry: routers;
Note over Your Code,Fastberry: graphql;
Note over Your Code,Fastberry: types;
end
Fastberry -->Server: Use Your Code;
Note over Fastberry,Server: Controller;
loop Controller
Fastberry -->Server: (CLI) Command-Line Interface;
Note over Fastberry,Server: Commands;
Fastberry -->Client: (API) Application Programming Interface;
Note over Fastberry,Client: HTTP — Operation(s);
Note over Fastberry,Client: GraphQL — Query(s) and Mutation(s);
end