Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Data Repository Layer for More Precise Testing + Documentation #311

Open
pwdel opened this issue Sep 9, 2024 · 0 comments · May be fixed by #299
Open

Create Data Repository Layer for More Precise Testing + Documentation #311

pwdel opened this issue Sep 9, 2024 · 0 comments · May be fixed by #299

Comments

@pwdel
Copy link
Member

pwdel commented Sep 9, 2024

Re, data conventions in readme:

Data Conventions

  • The entire application should be as stateless as possible, meaning we have a one-way writeable database of users, markets, bets and calculate all relevant states of the application from as few possible columns within those models.
  • We should separate the data logic from the business logic as much as possible with a Domain Driven Design (DDD), meaning we have a repository/ directory which is designed to be the central location to keep functions that extract data from the databases. This should ideally help slow the growth of the codebase over time and keep data extraction more testable, which should make our startless architecture more reliable.
@pwdel pwdel changed the title Create Data Repository Layer for More Precise Testing Create Data Repository Layer for More Precise Testing + Documentation Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
1 participant