A shopping cart for reviewing, saving deleting, managing and making transactions for items the users preferred
- A Shopping cart provides the customers to calculate easily what all they purchase whether it is goods or services
- A Shopping cart contains not only products but also customers data
- A Shopping cart keeps track of visitors activities, and provide you the option of integrating a secure to be able to accept credit card payment
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- Make sure your load machine has NPM, Node.js and MogoDB installed. Otherwise see : https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
- and password.js, Stripe API keys ready. See
https://stripe.com/docs/keys
- Open Terminal or PowerShell, type
git clone https://github.com/YongLAGCC/Shopping-Cart.git
- Use editer to open the downloaded folder
- Open Terminal or PowerShell, and direct to the folder, then type
npm install
- After finish download, type
npm start
- Open the Chrome to type
http://localhost:3000/
- Sign up and Sign in by your email and password
- click the items you like, be ready for your Credit card to pay for it!!
- This Shopping Cart is a real world shopping cart like Amazon's.
Example below
- This Shopping cart has password.js, the password has to be at leadt 8 digits long with character and numbers.
- It has a Stripe.js validation, the credit card number has to be correct.
example below:
- MongoDB - Database
- Express - Server Framework
- Stripe - Payment method
- NodeJs - Server Environment
- Handlebar.js - Frontend Framework
- @Caleb - Idea & Initial work
reference
- https://stripe.com/ Stripe API
- http://www.passportjs.org/ Passport validation
- https://www.mongodb.com/ MongoDB
- https://getbootstrap.com/ Frontend