This is often the most rigid part of your stack. Changing your database later is much harder than changing a frontend framework.
Examples: PostgreSQL, MySQL, SQLite.
Choose this if:
β Structure is known: You have clear entities (Users, Orders, Inventory) with strict relationships.
β Data Integrity is key: You cannot afford "orphan" data (e.g., an Order without a User).
β Complex Queries: You need to join multiple tables to generate reports.
Examples: MongoDB, Firebase, DynamoDB.
β Unstructured Data: You are storing logs, analytics, or user-generated content that varies wildly.
β Speed of Iteration: You need to change data models daily without writing migration scripts.
β Real-time: You need out-of-the-box syncing (e.g., Chat apps using Firebase).
express.js, django ?
ORM Prisma/Drizzle?
Last updated 4 days ago