# allenpaulgloria/pal-engke architecture

> Architecture diagram of the GitHub repository allenpaulgloria/pal-engke, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/allenpaulgloria/pal-engke
- Repository: https://github.com/allenpaulgloria/pal-engke

## Overview

Pal-engke is a Flutter mobile app whose visible domain areas suggest meal planning, recipe/preparation guidance, and shopping lists. The tree also identifies shared app state, domain models, seed data, and a Google Sheets sync service. Source excerpts and the README do not show how these components are wired or what the sync service transfers, so the graph preserves these product areas without asserting unsupported calls or data flows.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App entry"]
  node_entry["Flutter entry<br/>[main.dart]"]
end

subgraph group_planning["Meal planning"]
  node_meal["Meal planner"]
  node_recipes["Recipes and guide"]
  node_prep["Prep guide"]
  node_shopping["Shopping list"]
end

subgraph group_shared["Shared data"]
  node_models["Palengke models"]
  node_store["App state"]
  node_seed["Seed data<br/>[seed_data.json]"]
  node_sheets["Sheets sync"]
end

node_user(("App user"))

click node_entry "https://github.com/allenpaulgloria/pal-engke/blob/main/lib/main.dart"
click node_meal "https://github.com/allenpaulgloria/pal-engke/blob/main/lib/screens/meal_planner_screen.dart"
click node_recipes "https://github.com/allenpaulgloria/pal-engke/blob/main/lib/screens/recipes_and_guide_screen.dart"
click node_prep "https://github.com/allenpaulgloria/pal-engke/blob/main/lib/screens/prep_guide_screen.dart"
click node_shopping "https://github.com/allenpaulgloria/pal-engke/blob/main/lib/screens/shopping_list_screen.dart"
click node_models "https://github.com/allenpaulgloria/pal-engke/blob/main/lib/models/palengke_models.dart"
click node_store "https://github.com/allenpaulgloria/pal-engke/blob/main/lib/state/palengke_store.dart"
click node_seed "https://github.com/allenpaulgloria/pal-engke/blob/main/assets/seed_data.json"
click node_sheets "https://github.com/allenpaulgloria/pal-engke/blob/main/lib/services/google_sheets_sync_service.dart"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entry,node_user toneBlue
class node_meal,node_recipes,node_prep,node_shopping toneAmber
class node_models,node_store,node_seed,node_sheets toneMint
```

## Components

### App entry

- [Flutter entry](https://github.com/allenpaulgloria/pal-engke/blob/main/lib/main.dart): `lib/main.dart`

### Meal planning

- [Meal planner](https://github.com/allenpaulgloria/pal-engke/blob/main/lib/screens/meal_planner_screen.dart): `lib/screens/meal_planner_screen.dart`
- [Recipes and guide](https://github.com/allenpaulgloria/pal-engke/blob/main/lib/screens/recipes_and_guide_screen.dart): `lib/screens/recipes_and_guide_screen.dart`
- [Prep guide](https://github.com/allenpaulgloria/pal-engke/blob/main/lib/screens/prep_guide_screen.dart): `lib/screens/prep_guide_screen.dart`
- [Shopping list](https://github.com/allenpaulgloria/pal-engke/blob/main/lib/screens/shopping_list_screen.dart): `lib/screens/shopping_list_screen.dart`

### Shared data

- [Palengke models](https://github.com/allenpaulgloria/pal-engke/blob/main/lib/models/palengke_models.dart): `lib/models/palengke_models.dart`
- [App state](https://github.com/allenpaulgloria/pal-engke/blob/main/lib/state/palengke_store.dart): `lib/state/palengke_store.dart`
- [Seed data](https://github.com/allenpaulgloria/pal-engke/blob/main/assets/seed_data.json): `assets/seed_data.json`
- [Sheets sync](https://github.com/allenpaulgloria/pal-engke/blob/main/lib/services/google_sheets_sync_service.dart): `lib/services/google_sheets_sync_service.dart`

### Other components

- **App user**
