Skip to content

SPA application built using MEAN stack and JWT/Bcrypt encryption. Able to create new users/vendors and have users add products to their cart/session.

Notifications You must be signed in to change notification settings

rogerprz/Angular-Storefront

Repository files navigation

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

About

SPA application built using MEAN stack and JWT/Bcrypt encryption. Able to create new users/vendors and have users add products to their cart/session.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages