This commit is contained in:
Marek Lenczewski
2026-04-11 13:02:40 +02:00
parent 11eff12da8
commit d8c8db4a4c
4 changed files with 57 additions and 76 deletions

View File

@@ -1,51 +0,0 @@
# Task module
- Task - Task entity
- id, name, date, status, date, schema, category
- isPast()
- TaskController - Task routes
- index, show, create, update, delete, toggle
- TaskManager - Task CRUD
- create, update, delete, toggle
- TaskRepository - Task queries
-
# TaskSchema module
- TaskSchema - TaskSchema entity
- id, name, status, category, start, end, date
- type(single, repeat, custom),
- repeat(daily, weekly, monthly, yearly)
- custom(days)
- TaskSchemaController - TaskSchema routes
- index, show, create, update, delete
- TaskSchemaManager - TaskSchema CRUD
- create, update, delete
- TaskSchemaRepository - TaskSchema queries
- TaskGenerator - Create tasks from schema
- generate
# Category module
- Category - Kategorie entity
- id, name, color
- CategoryController - Category routes
- index, show, create, update, delete
- TaskSchemaManager - TaskSchema CRUD
- TaskSchemaRepository - TaskSchema queries
# Item module
- Item - Item entity
- ItemController - Item routes
- ItemManager - Item CRUD
- ItemRepository - Item queries
- UnitEnum - Unit for Item
# Meal module
- Meal - Meal entity
- MealController - Meal routes
- MealManager - Meal CRUD
- MealRepository - Meal queries
# Shopping module
- ShoppingList - ShoppingList entity
- ShoppingListController - ShoppingList routes
- ShoppingListManager - ShoppingList CRUD
- ShoppingListRepository - ShoppingList queries

33
base.md Normal file
View File

@@ -0,0 +1,33 @@
# Datei
Fundament/Vision - WAS gebaut wird
# Software
- Base software with 3 Apps
- Each App has definitions in Symfony, Vue and Kotlin
- Task Manager App - Manage tasks with categories, auto generate tasks with task schemas
- Shopping List App - Manage list for shopping
- Meal Planner App - Manage meals, assign meals to days, generate shopping list from assigned meals
# Systems
- Symfony - Backend with Rest API
- Vue - Frontend for browser
- Kotlin - Frontend for mobile (later)
- Ddev - Dev environment
- MariaDB - Database
- Doctrine - ORM
- Nelmio CORS - CORS for vue api
- Jetpack Compose - Kotlin components
# Database
## Task Manager
- Task (id, name, date, status, category, schema)
- TaskSchema (id, name, category, type, start, end)
- Category (id, name, color)
## Shopping List
- Item (id, name, unit) - Items
- ItemList (id, list, item, quantity, status) - Items for shopping list
- ShoppingList (id) - Shopping list
## Meal Planner
- Meal (id, title, description) - Meals
- ItemMeal (id, meal, item, quantity) - items with meals
- MealDate (id, meal, date) - Meals for date

View File

@@ -1,12 +0,0 @@
# Aufgabenplanner
- Task (id, name, date, status, category, schema)
- TaskSchema (id, name, category, type, start, end)
- Category (id, name, color)
# Mahlzeitenplanner
- Item (id, name, unit) - Lebensmittel
- Meal (id, title, description) - Mahlzeiten
- ItemMeal (id, meal, item, quantity) - Lebensmittel mit Mahlzeiten
- MealDate (id, meal, date) - Mahlzeiten für Datum
# Einkaufsliste
- List (id) - Einkaufsliste
- ItemList (id, list, item, quantity, status) - Lebensmittel für Einkaufsliste

View File

@@ -1,19 +1,30 @@
# Basic module
# Datei
Implementierungs-Schritte als Feature-Module - WIE es gebaut wird
# Setup module
## Backend
- Setup Symfony
- Setup Symfony ./backend
## Frontend
- Setup Vue
- main.js - app, router, pinia setup
- route/index.js - / start page route
- App.vue - base page
- Startpage.vue - start page
- navigation, subnavigation, main area
- Setup Vue ./frontend, router, pinia
- App.vue - no content
## App
- Setup Kotlin ./app, navigation compose
- MainScreen.kt - no content
## Features
- Symfony and Vue setup
- Start page only desktop
- navigation top
- subnavigation below natigation, depends on navigation
- main area, depends on navigation or subnavigation
- Symfony, Vue and Kotlin minimal setup, no content
# Base module
## Backend
- nothing
## Frontend
- router - / start page route
- Startpage.vue - start page
## App
- NavHost - start destination
- StartScreen.kt - start page
## Features
- Start page with navigation top, subnavigation below, main area
- Visible on frontend and app
# Task module
## Backend