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

[FEATURE] Replace MongoDB with an ORM layer with SQLite support #276

Open
1 task done
timlrx opened this issue Mar 28, 2024 · 0 comments
Open
1 task done

[FEATURE] Replace MongoDB with an ORM layer with SQLite support #276

timlrx opened this issue Mar 28, 2024 · 0 comments
Labels
feature Should build this needs-triage Issues need triages by maintainer

Comments

@timlrx
Copy link
Collaborator

timlrx commented Mar 28, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Description

Suggest to replace MongoDB and mongoose with a generic ORM layer and use SQLite as part of the official docker build

Is your feature request related to a problem/limitation?

MongoDB uses a restrictive proprietary license that includes restrictions on the use of service (clause 13). This restricts adoption and broader usage.

Describe the solution you'd like

  1. Use an ORM layer for flexibility so the database of choice can be determined by the end user. For backward compatibility, my preference would be to use an ORM which supports both SQL and non-SQL e.g. Prisma or Typeorm. More research probably needs to be done to see what works best with the current setup.
  2. Use SQLite as the default choice for packaged builds:
    • Included with most systems
    • Extremely battle tested
    • Small dependency
    • Public domain
    • Easy to switch out to Postgres / MySQL or your favourite SQL compatible DB

Alternatives

No response

Additional Context

No response

Related Issues/PRs

No response

@timlrx timlrx added feature Should build this needs-triage Issues need triages by maintainer labels Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Should build this needs-triage Issues need triages by maintainer
Projects
None yet
Development

No branches or pull requests

1 participant