A simple e-commerce cart build with NodeJS, Express.js, ES6, Pug, and CSS3 at Skylab Coders Academy Full Stack Web Development Bootcamp.
How to Install
- Download the zip or clone the repository
- Open your terminal and type
npm start
(it installs all npm and bower dependencies) - Go to your browser and type
localhost:3000
This will render the pug files into html and will listen to several endopoint to allow clients interact with the data.
All these endpoints will start locally w/ http://localhost:3000
Example: http://localhost:3000/cart
Get list all items available.
Get specific taks per id.
To add a item to the cart.
To modify the quantity of each item.
To remove a item from the cart.