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

feat: database setup #4

Open
2 tasks
elianiva opened this issue Jan 3, 2024 · 0 comments
Open
2 tasks

feat: database setup #4

elianiva opened this issue Jan 3, 2024 · 0 comments
Assignees

Comments

@elianiva
Copy link
Member

elianiva commented Jan 3, 2024

since most forms would be unstructured, it would be better to use schemaless nosql database such as mongodb
although i'm not sure if we really need an ORM, probably not since the official mongodb driver would suffice

even though the database is schemaless, at least we need to set the schema for these things:

  • user schema
  • base form schema (each form will consists of blocks, in which each block will have their own schema, and a single form will consists of multiple schema, hence we need the schemaless db since each form will have different combination of schema)
@elianiva elianiva self-assigned this Jan 4, 2024
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

No branches or pull requests

1 participant