Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You have been tasked with building a simple e - commerce database using MongoDB. The database should have the following requirements: A ER diagram must

You have been tasked with building a simple e-commerce database using MongoDB. The database should have the following requirements:
A ER diagram must be made for it
The database should store information about products, customers, and orders.
Each product should have a name, price, and description.
Each customer should have a name, email, and shipping address.
Each order should have a customer, a list of products, and a total price.
Your task is to design and implement the database schema, as well as write queries to retrieve and manipulate data.
Part 1: Database Schema
Design a database schema that satisfies the above requirements. You should consider the following:
What collections will you need?
What fields will each collection have?
What relationships exist between collections?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago