Database Design - Ultan-Kearns/eCommerceApp GitHub Wiki

Database Design

What's the point of a database?

The point of the database is to store the customer and product info

How it works

We chose mongoDB. The reason we chose this is that it is part of the MEAN stack. MongoDB in general is very lightweight whilst being extremely effective

Schema less − MongoDB is a document database in which one collection holds different documents. Number of fields, content and size of the document can differ from one document to another.

Deep query-ability. MongoDB supports dynamic queries on documents using a document-based query language that's nearly as powerful as SQL.

Ease of scale-out − MongoDB is easy to scale

Improvements

If the site grows to a massive user base then it could be time to consider bigger and more heavyweight RDBMS solutions