Building a Shopping Cart

In this chapter, we will build a simple create, read, update, and delete (CRUD) application that will allow the user to add items to a shopping cart, remove them, update the quantity of each item, and track the total price of all added items. This is not, by any means, an e-commerce app but a brief overview of data handling with Meteor. For the frontend view layer, we will use React; also, we will take advantage of Meteor's reactive data package react-meteor-data to handle all the data changes and the dynamic rendering.

First, we will start with a very basic CRUD implementation and, moving forward, we'll refactor the app with the introduction of more concepts.

Here's what this chapter covers:

  • An overview of basic ...

Get Build Applications with Meteor now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.