Commit Graph

51 Commits (uebung_frameworks)

Author SHA1 Message Date
michael 3193960125 implement controller solution 2025-02-03 01:51:34 +01:00
michael 1ca9dca2df usecase fix 2025-02-03 01:50:45 +01:00
michael 6aee64db8f implement usecase solution 2025-02-03 01:48:45 +01:00
michael 91d39c6d47 implement entities solution 2025-02-03 01:47:31 +01:00
michael 82b70ce099 fix user create button 2025-02-03 01:46:13 +01:00
michael 5883524ff5 create user endpoint 2025-02-03 01:03:58 +01:00
michael 0f246701cd remove implementation details in user_repo 2025-02-03 00:19:19 +01:00
michael 1a4656d451 update README 2025-02-02 23:58:05 +01:00
Felix Jan Michael Mucha c39bea9543 update README and user.py to define exercise 2025-02-02 23:20:22 +01:00
Arman Ulusoy 3b64102c32 src/use_cases/user_repository.py aktualisiert 2025-02-02 19:17:51 +01:00
Arman Ulusoy c0f3a7e8ae src/use_cases/create_user.py aktualisiert 2025-02-02 19:16:48 +01:00
michael be29f9b878 simpler folder structure. remove __init__.py since it might be confusing 2025-02-02 16:55:09 +01:00
michael 531db9fd02 add I to interfaces. some formatting 2025-02-02 14:23:08 +01:00
michael 020ef2c4a3 remove useless readme 2025-02-02 04:15:14 +01:00
michael b63828cc7b add tasks to READMEs. Add more TODOs 2025-02-02 03:37:40 +01:00
michael d8ca863c8c remove any cart stuff. add port interfaces for products 2025-02-02 02:42:54 +01:00
michael 5c84416fe0 framework_driver task implementation (not finished yet) 2025-02-02 00:51:31 +01:00
Felix Jan Michael Mucha b40acb630d added todos for user 2025-02-01 22:54:35 +01:00
Felix Jan Michael Mucha 8eabaa915f removed dataclass from user 2025-02-01 20:49:54 +01:00
Felix Jan Michael Mucha 997b3765d0 removed dataclass, added docstrings to entities 2025-02-01 19:06:30 +01:00
michael 0be0187062 add input output port to view cart as example. organize usecases in interactors and interfaces 2025-01-31 11:41:18 +01:00
michael 821ef8a8d4 changes:
* convert from db object to entity in repo implementation instead of usecase
* add description as column to product db object
* remove old ui stuff
* return dict instead of tuple in sql
* add TODOs which should be implemented
2025-01-27 14:00:51 +01:00
michael 7bc1345d60 add app execution in main, so users dont have to rely on fastapi being in path 2025-01-17 14:37:41 +01:00
Felix Jan Michael Mucha 3b8c48f5cf Merge branch 'layer_framework_driver' of https://gitty.informatik.hs-mannheim.de/3016498/IWS_WS24_clean_architecture into layer_framework_driver 2025-01-17 13:48:14 +01:00
Felix Jan Michael Mucha fabbb22daf added reqs.txt 2025-01-17 13:48:06 +01:00
michael a48d8255bf fix view_product 2025-01-16 10:55:10 +01:00
michael 78856751ff fix readme 2025-01-16 10:41:33 +01:00
michael 057b21cf35 add view_all_products endpoint.add ui 2025-01-16 10:39:44 +01:00
michael 53523d46b2 Changes:
add Readme per layer
move db calls to interface_adapters
implement product example
add tests
add __init__ files for easier to read imports
2025-01-16 00:36:59 +01:00
Felix Jan Michael Mucha b3ff7894c6 added bit of styling 2025-01-05 22:54:33 +01:00
Felix Jan Michael Mucha 96ed635895 added coding todos 2025-01-05 22:53:51 +01:00
Felix Jan Michael Mucha 9811340337 added better data 2025-01-05 22:53:30 +01:00
Felix Jan Michael Mucha 451fe6b2fa connected ui cart with db 2025-01-05 18:10:49 +01:00
Felix Jan Michael Mucha 3f3c13abd0 added: dummy ui for FastAPI 2025-01-05 17:06:49 +01:00
Felix Jan Michael Mucha c49874c572 addd FAST API guide 2024-12-03 22:44:44 +01:00
Felix Jan Michael Mucha 1384c83864 switched to real database 2024-12-03 22:44:18 +01:00
Felix Jan Michael Mucha f6c3d98cf1 changed based on CartItem entity 2024-12-03 22:43:31 +01:00
michael f44a48a33a Merge branch 'layer_interface_adapters' into layer_framework_driver 2024-12-01 21:22:30 +01:00
michael 8c8b4ccbc5 organize interface_adapters. add cart_controller 2024-12-01 21:20:29 +01:00
Felix Jan Michael Mucha 57233055eb init small flask ui 2024-11-30 18:37:17 +01:00
Felix Jan Michael Mucha 938fee1a4e moved files into layer dir 2024-11-30 18:05:58 +01:00
Felix Jan Michael Mucha 84b3e9ff95 Merge branch 'layer_interface_adapters' into layer_framework_driver_db
merged branch layer_interface_adapters into layer_framework_driver_db
2024-11-30 17:31:26 +01:00
michael 4ea29323ee Merge branch 'layer_use_cases' into layer_interface_adapters 2024-11-25 16:53:54 +01:00
michael cf644cc040 fix wrong dependency in use cases 2024-11-25 16:48:11 +01:00
michael 9ad635f8ec add interface adapters for db 2024-11-22 18:08:09 +01:00
michael 6b2ab75561 add basic usecase layer 2024-11-22 18:06:06 +01:00
michael b453880cf4 add basic entity layer 2024-11-22 18:00:37 +01:00
michael 78fccb6a94 add .gitignore 2024-11-22 17:59:44 +01:00
Felix Jan Michael Mucha ebc8b88f0d added description 2024-11-21 22:19:49 +01:00
Felix Jan Michael Mucha f9c4c2c4e1 added small sqllite3 db for online shop 2024-11-21 22:17:40 +01:00