Skip to content

Latest commit

 

History

History
55 lines (31 loc) · 1.59 KB

README.md

File metadata and controls

55 lines (31 loc) · 1.59 KB

Angular Storefront

Description: Simplified version of the amazon marketplace where users/vendors can signup or login. Users can add products to cart. Users can apply coupon to their total. Vendors can login and create new products or coupons.

Live Demo hosted on Heroku

Getting Started

Note to create a vendor login, code: 'newVendor'

Dependencies | Installation Requirements

  • Run npm install

Running App locally

1. Create .env file in root folder

  • DB_CONN=<url/admin:password provided in email>

  • JWT_SECRET=<long password || or use link below to generate pw>

  • Password Gen - password generator

2. Seed DB

Run npm run sample - will seed db with data for users/vendors, coupons, and products.

3. Run Local Build Demo

Run npm start to build the project.

Development server

For development run npm run watch - will open window/tab on localhost 4200.

Built With

Build using the MEAN stack

  • Mongo DB - NoSQL database.

  • Express - Backend server.

  • Angular6 - The web library used.

  • Node.js - Used to help create full stack SPA.

  • Semantic-UI - CSS styling

  • JWT Auth - Token authentication/authorization

  • Bcrypt - password hashing used to encrypt passwords.

  • Custom CSS styling

Authors