Skip to main content

23 posts tagged with "database"

database tag description

View All Tags

Supabase self host

· 8 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Supabase is a Backend-as-a-Service (BaaS) platform that is almost entirely open source, which provides flexibility for developers. While their hosted service is what most people use, you have the freedom to self-host the entire stack. This open-source nature is a key differentiator when comparing it to other solutions like a custom stack with Hasura.

Managing database queries in Django applications and where save the queries

· 8 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

As a Django app grows, managing database queries effectively is crucial for maintainability, performance, and testability. Storing them haphazardly is a recipe for disaster. The best place to store your queries is on custom Model Managers and QuerySets. This approach keeps your logic organized, reusable, and closely tied to the data it operates on. Here are the main variants for storing your queries, from the least recommended to the best practice.