IWS_WS24_clean_architecture/README.md

41 lines
1.0 KiB
Markdown
Raw Normal View History

2024-11-08 09:24:02 +01:00
# IWS_clean_architecture
2024-11-21 22:19:49 +01:00
** Master MDS HSMA **
Clean Architecture - Architekturstil am praktischen Beispiel z.B. in Python.
2024-11-30 18:05:58 +01:00
run python script as a module e.g.: python -m framework_driver.db.db_cart
2024-11-21 22:19:49 +01:00
2025-01-05 22:53:51 +01:00
## 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)
2024-12-03 22:44:44 +01:00
## Fast API:
- 0: open Terminal
- 1: navigate to src: cd .\src\
- 2: run main app: uvicorn main:app --reload
- 3 go to url: [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)
- 4: close with: strg + c
2024-11-21 22:19:49 +01:00