update
This commit is contained in:
91
module.md
Normal file
91
module.md
Normal file
@@ -0,0 +1,91 @@
|
||||
# Basic module
|
||||
## Backend
|
||||
- Setup Symfony
|
||||
## 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
|
||||
## Features
|
||||
- Symfony and Vue setup
|
||||
- Start page only desktop
|
||||
- navigation top
|
||||
- subnavigation below natigation, depends on navigation
|
||||
- main area, depends on navigation or subnavigation
|
||||
|
||||
# Task module
|
||||
## Backend
|
||||
- Task - Task entity
|
||||
- id, name, date, status
|
||||
- TaskStatus - Enum for task status
|
||||
- active, done
|
||||
- TaskController - Task routes
|
||||
- index, show, create, update, delete, toggle
|
||||
- TaskManager - Task CRUD
|
||||
- create, update, delete, toggle
|
||||
- TaskRepository - Default task queries
|
||||
- TaskDto - Dto for create und update task
|
||||
## Frontend
|
||||
- route/index.js - /tasks tasks routing
|
||||
- Task.Vue - Display all tasks
|
||||
- TaskDetail.vue - Create and edit tasks
|
||||
- api.js - API routes to symfony
|
||||
## Features
|
||||
- Task page
|
||||
- navigation - tasks
|
||||
- subnavigation - all tasks, new task, categories
|
||||
- Start page
|
||||
- main area - quader button to task page
|
||||
- Task page
|
||||
- main area - list all tasks, each task has name, status in badge, edit button, onclick toggle task status
|
||||
-
|
||||
- Task detal page
|
||||
- main area -
|
||||
|
||||
# Category module
|
||||
## Backend
|
||||
- Category - Category entity
|
||||
- id, name, color
|
||||
- Task - Task entity
|
||||
- category
|
||||
-
|
||||
- CategoryController - Category routes
|
||||
- index, show, create, update, delete
|
||||
- TaskSchemaManager - TaskSchema CRUD
|
||||
- TaskSchemaRepository - TaskSchema 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
|
||||
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user