Scenario Overview - 20250525 - 233522 - 0000
Scenario Overview - 20250525 - 233522 - 0000
A startup company wants a minimal but functional e-commerce website where they can showcase
and sell their products. The student, acting as a full-stack developer, is tasked with designing and
developing the platform using the MERN stack—MongoDB, Express.js, React.js, and Node.js.
Implementation:
Store users in MongoDB with role fields (e.g., role: 'admin' or 'customer').
Frontend (React):
Objective:
Customers should be able to browse, search, and filter products based on categories, price, ratings,
etc.
Implementation:
Backend:
Frontend:
Skills Applied: React state management, API calls, query parameters, MongoDB filtering.
Objective:
Enable users to add items to a cart and place orders with relevant details.
Implementation:
Frontend:
Backend:
Save orders in MongoDB with order details, user ID, and status.
Skills Applied: State management, form handling, order flow logic, database write operations.
Objective:
Implementation:
Backend:
Frontend:
Use MongoDB as the primary database to store and manage all data.
Implementation:
Skills Applied: Database modeling, relational data via references, secure storage