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

Refactor API for it to be runnable with an empty db #363

Open
4 tasks
ygrishajev opened this issue Sep 12, 2024 · 0 comments
Open
4 tasks

Refactor API for it to be runnable with an empty db #363

ygrishajev opened this issue Sep 12, 2024 · 0 comments
Labels
P2 priority 2 feature/ enhancement

Comments

@ygrishajev
Copy link
Collaborator

Currently we have an issue that console isn't runnable without historical data from the indexer db which api also depends on. It causes quite some issues:

  • this is obviously a tech debt which impacts decisions like CDCI workflows
  • we can't run integration/functional/e2e tests in CDCI as imported dbs are too large
  • it's only a matter of time when we or potential contributors aren't able to import a db as it grows constantly

What we need to do:
Refactor api to be runnable with empty data

  • base
  • Implement historical data seeders

Bonus points:

  • migrate db schemas from sequelize to drizzle
  • generage missing migrations
@baktun14 baktun14 added the P2 priority 2 feature/ enhancement label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 priority 2 feature/ enhancement
Projects
None yet
Development

No branches or pull requests

2 participants