Laying out the e-commerce MVP
Now we are going to take leave of the boilerplate code and start writing our own. In this first section, we are going to build the marketplace.
Products
So, let's create the page that will hold all the products. We will use the Yeoman generator again to automate the tasks of creating the new files, and focus on customizing it to our needs. Go to the terminal and execute the following command:
$ yo angular-fullstack:route products ? Where would you like to create this route? client/app/ ? What will the url of your route be? /products create client/app/products/products.js create client/app/products/products.controller.js create client/app/products/products.controller.spec.js create client/app/products/products.html ...
Get Web Application Development with MEAN 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.