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

S3 to Turso database #298

Merged
merged 25 commits into from
Oct 28, 2024
Merged

S3 to Turso database #298

merged 25 commits into from
Oct 28, 2024

Conversation

brollin
Copy link
Collaborator

@brollin brollin commented Oct 26, 2024

Closes #290 and closes #294. Ultimately this PR accomplishes:

  • switch backend endpoints from using s3 to using turso as a data store (except beat map stuff, which needs a rework anyways)
  • nail down a final database schema with drizzle orm
  • setup means to switch between local (local sqlite file) and production database (turso hosted database)
  • some inconsequential random bugfixes

Still to do in a followup:

  • remove now irrelevant code related to s3 stuff (in particular stuff in the scripts and utils directories)
  • document all the things and update ONSITE_SETUP.md
  • set up a regular backup somehow (we can just dump the db into s3)

@brollin brollin marked this pull request as ready for review October 27, 2024 10:26
@brollin brollin merged commit 5f70ca8 into main Oct 28, 2024
1 check passed
@brollin brollin deleted the s3-to-database branch October 28, 2024 04:16
@brollin brollin mentioned this pull request Oct 28, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate datastore from S3 to Turso Show "save successfully" toast notification
1 participant