Skip to content

Panache Designs is an online shop for buying shoes, clothing and jewelery

Notifications You must be signed in to change notification settings

mirdesai81/PanacheDesigns

Repository files navigation

Angular 4 Full Stack E-Commerce App

This project was generated with angular-cli.

This project is developed using MEAN stack:

Other node packages used:

Node install

Install NodeJs version 6.9.4 includes npm 3.10.10.

MongoDB install

Install MongoDB

Angular CLI Install

run npm i -g @angular/cli.

Dependency Install

Navigate to project root path and run npm install to install all dependencies

Run

Development Server

Run npm run dev: concurrently execute MongoDB, Angular build, TypeScript compiler and Express server.

A window will automatically open at localhost:4200. Angular and Express files are being watched. Any change automatically creates a new bundle, restart Express server and reload your browser.

Production mode

npm run prod: run the project with a production bundle and AOT compilation listening at localhost:3000

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.