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

Remove SQL dependency in the backend #123

Open
tomaspalma opened this issue Dec 30, 2024 · 0 comments
Open

Remove SQL dependency in the backend #123

tomaspalma opened this issue Dec 30, 2024 · 0 comments
Assignees

Comments

@tomaspalma
Copy link
Member

Currently the backend experience is extremely coupled with PostgresSQL, which is the database we use in the production environment.

However, Postgres brings a lot of pain during development specially because our database has a huge amount of information about courses and takes too long to insert.

Also, defining the schema using SQL requires more technical knowledge and is more cumbersome. Since we are using django we can fully use the features of its ORM.

This way, it is easier to use sqlite3 in development and postgresql in environment since we just need to change the driver django is going to use. With sqlite3 we would just need to paste the database file and we would have access to the data way more rapidly.

@tomaspalma tomaspalma self-assigned this Dec 30, 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