JSON-shaped data, flexible schemas, easy aggregations.
Document Stores: json-shaped data, flexible schemas, easy aggregations
match the datastore to the access pattern
Flexibility helps fast iteration.
Document stores (MongoDB, Couchbase) treat each record as a JSON-like document. They suit varied, nested, or evolving data, and let you index nested fields directly.
Schemas exist; they live in your code instead of the DB.
Aggregation pipelines support powerful queries within a doc.
Cross-document joins are weak; denormalize or use $lookup sparingly.
Catalog with varied product attributes.