Skip to content

amorattti/eCommerce-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eCommerce store page

Live Site Heroku delay server ~5s (free package)

Restaurant Landing Page

Features

  • register/login

  • admin dashboard

    add new product

    edit product

    add new category

    view orders

  • user dashboard

    edit profile

    my shopping (history)

  • pages

    home

    shop (search/filter)

    shopping cart

  • payment

    braintree (cart/PayPal) sandbox

Deployment

  npm run install (client / server)
  npm run build (client)
  npm run dev

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

Client:

REACT_APP_API_URL=http://localhost:5000/api || heroku REACT_APP_API_URL=/api

Server:

MONGO_URI

CLIENT_URL

BRAINTREE_MARCHANT_ID

BRAINTREE_PUBLIC_KEY

BRAINTREE_PRIVATE_KEY

Test Credit Card Numbers

Back to top

You can use the following fictitious credit card numbers when testing your checkout:

Visa: 4111 1111 1111 1111
Mastercard: 5555 5555 5555 4444
Amex: 3714 496353 9843

You can use any CVC code.

For expiry dates, use a valid month and a day within the next 180 years. 22/2222 does not work!

Amounts between $0.01 - $1999.99 simulate a successful authorization.

Finally, always remember to take your account out of test mode when you are finished!