TUDelft-GeoDykes / geodykes-fastapi

MIT License
0 stars 0 forks source link

Simplify current code complexity related to repositories module #4

Open jurra opened 1 month ago

jurra commented 1 month ago

The current codebase is more modular and flexible. The repositories module decouples the implementation of how data is sourced from the database, from the backend logic. This is more convenient if we want a flexible backend that is data source agnostic in the future, however it makes the code more complex for newcomers and possibly maintainers that do not have familiarity with these concepts.

It might be a design patter overview for the current project situation, so code can be refactored to a simpler approach in the near future.