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

Construct a proper server schema #5

Open
1 task
edwardshturman opened this issue Jul 7, 2023 · 0 comments
Open
1 task

Construct a proper server schema #5

edwardshturman opened this issue Jul 7, 2023 · 0 comments
Assignees
Labels

Comments

@edwardshturman
Copy link
Member

What

Right now, the Server schema we maintain with MongoDB is reliable...enough. We have yet to use types (#4) and that definitely extends to the database schema. (This is not good practice....) The focus of this issue is threefold:

  • Finish our early model of what the server schema looks like: what does the config object look like? How will we handle migrations?
  • Should we consider a different database paradigm and service provider? Relational → Postgres → Supabase?
  • Implement types for our schema, such as via Prisma.

Why

As discussed in #4, types are a safe long-term strategy for interacting with APIs, and that includes our own. Additionally, we'll almost certainly have to change the structure down the line, especially when making a new feature set. We ought to have a plan in place for that.

How

  • Consider alternative database paradigms and service providers

This'll be updated from there....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant