added coding todos
parent
9811340337
commit
96ed635895
46
README.md
46
README.md
|
|
@ -5,6 +5,32 @@ Clean Architecture - Architekturstil am praktischen Beispiel z.B. in Python.
|
|||
|
||||
run python script as a module e.g.: python -m framework_driver.db.db_cart
|
||||
|
||||
|
||||
## TODOS:
|
||||
- db_controller not in framerwork_driver ?
|
||||
|
||||
- add cart_controller product name not only product id
|
||||
|
||||
- add product_controller
|
||||
- connect product with ui
|
||||
|
||||
- add feature: add product to cart
|
||||
|
||||
- merge to main branch
|
||||
- delete old branches
|
||||
|
||||
- add comments
|
||||
- extend readme
|
||||
|
||||
- should the api be in ui_controllers ?
|
||||
|
||||
- if finished: split into exercise (layer) branches
|
||||
- add exercises in new branch: user registration
|
||||
- exercise for after workshop?
|
||||
|
||||
- maybe: (other features: delete from cart, change quantity in cart, delete user acc, change user name, pw, mail, ...)
|
||||
- maybe: make change user id in cart_controller possible? (default is 1)
|
||||
|
||||
## Fast API:
|
||||
- 0: open Terminal
|
||||
- 1: navigate to src: cd .\src\
|
||||
|
|
@ -12,23 +38,3 @@ run python script as a module e.g.: python -m framework_driver.db.db_cart
|
|||
- 3 go to url: [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)
|
||||
- 4: close with: strg + c
|
||||
|
||||
## Layers
|
||||
- entities
|
||||
- cart_item.py
|
||||
- cart.py
|
||||
- product.py
|
||||
- use_cases
|
||||
- cart_reporsitory_interface.py
|
||||
- view_cart.py
|
||||
- interfaces_adapters
|
||||
- cart_database_interface.py
|
||||
- cart_repository.py
|
||||
- framework_driver
|
||||
- db
|
||||
- db_cart.py
|
||||
- db_product.py
|
||||
- db_setup.py
|
||||
- db_user.py
|
||||
- shop.db
|
||||
- ui
|
||||
- coming soon ...
|
||||
|
|
|
|||
Loading…
Reference in New Issue