Skip to content

🛒 A simple ecommerce cart build with Express.js and Pug at Skylab Coders Academy Full Stack Web Development Bootcamp

Notifications You must be signed in to change notification settings

marioterron/demo-ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS ExpressJS PugJS ES6 npm

HTML5, CSS3 and JS Bootstrap SASS Bower

Standard - JavaScript Style Guide

E-Commerce Cart

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

  1. Download the zip or clone the repository
  2. Open your terminal and type npm start (it installs all npm and bower dependencies)
  3. 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.

Actions available

All these endpoints will start locally w/ http://localhost:3000

Example: http://localhost:3000/cart

GET endpoints

[GET] /

Get list all items available.

[GET] /cart

Get specific taks per id.

POST endpoints

[POST] /cart

To add a item to the cart.

PUT endpoints

[PUT] /cart/:id

To modify the quantity of each item.

DELETE endpoints

[DELETE] cart/:id

To remove a item from the cart.

About

🛒 A simple ecommerce cart build with Express.js and Pug at Skylab Coders Academy Full Stack Web Development Bootcamp

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published