1.Show all databases

> show dbs

2.Create / use database (if exists then use)

> use ecommerce

3. create a collection

> db.ecommerce.products = {name: String, description: String, status:Boolean, price: Number} 57 more words