issues
search
wmiys
/
api.alpha
Api for the the backend
0
stars
0
forks
source link
Refactor data models
#208
Closed
rrickgauer
closed
2 years ago
rrickgauer
commented
2 years ago
models should just be dataclasses
all database operations and business logic should be moved into a separate modules
rrickgauer
commented
2 years ago
The new architecture will have these packages:
services
these will hold all the business logic for all components
repository
this will hold all the code for interacting with the database
retrieving/updating/deleting/inserting given models
models
data classes that represent the domain models