GitXplorerGitXplorer
r

ecommerce-demo

public
34 stars
70 forks
1 issues

Commits

List of commits on branch master.
Unverified
dd4e069b3d5adce273e66c3f007861f68d1b80d0

Removed console.log used for troubleshooting

committed 8 years ago
Unverified
b892c8591d93bff59c7add0527ad3181cf67fc3c

Added package-lock

committed 8 years ago
Unverified
c84c0b3ee6dfcf0ac75682e0d2a136b09cce5076

Added fallback connection for mongo database

committed 8 years ago
Unverified
8cbdf8c9675f98640c1bc2133ed780f07da8c3f2

Created private createGuid function

committed 8 years ago
Unverified
b753a1af292630c79c52bfe319384a6350dd5456

Removed image that was no longer being used

committed 8 years ago
Unverified
de190da3fd89e9479d5e2bace9e4eb104d40a47e

Updated the add to cart button on item detail page to transition over to cart after adding item

rratracegrad committed 8 years ago

README

The README file for this repository.

E-commerce Demo

This is a sample application that demonstrates an E-commerce website using the MEAN stack. The application loads products a MongoDB database and displays them. Users can select to display products in a single category. Users can click on any product to get more information including pricing, reviews and rating. Users can select items and add them to their shopping cart

Import Data

I have included a data folder in this repo. Inside that folder will be 2 folders called cart and item. These 2 folders contain a mongodump of the 2 collections that I use in this ecommerce demo. You can use the import-data.sh script to import these 2 dumps to an ecommerce database, then you will have the same content that I have for this demo.

Live Demonstration

The E-commerce demo can be viewed online here.

Here are screenshots that show the E-commerce demo application in use.

Home Page Home Page


Item Detail Page Item Detail


Shopping Cart Shopping Cart

Getting Started

To get started you can simply clone this ecommerce-demo repository and install the dependencies.

Clone the ecommerce-demo repository using git:

git clone https://github.com/ratracegrad/ecommerce-demo
cd ecommerce-demo

Install dependencies with this command:

npm install

Run the application with this command:

npm start

Tech Stack

  • AngularJS
  • Node.js
  • Express.js
  • Bootstrap
  • ui-Router