Skip to content

ruchiparmar7/Amazon-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amazon Clone 1.0

React

Screenshot

How to run project:

  • First Download the code
  • Make Sure you have install Node.js
  • Open "Amazon-Clone" Folder in any code editor(eg VS)
  • Now Run Command(Amazon folder): npm i
  • Create account in Stripe & firebase
  • Copy Your firebase WebApp config and paste in firebase.js firebaseConfig = {};
  • Open Stripe -> Developers -> API keys -> copy publishable keys and paste in APP.js const stripePromise = loadStripe('publishable key')
  • copy secret key of stripe and paste in function folder/index.js const stripe = require("stripe")("Secret key here");
  • Run same command in function folder: npm i
  • Now lets run project
    1. For Frontend (AMAZON folder) run command: npm start
    2. For Backened (AMAZON/function folder) follow link: Link
  • To Deploy a App with Firebase Hosting: Link

Packages Used:

  1. frontened
  • npm install @material-ui/icons
  • npm install --save @stripe/react-stripe-js @stripe/stripe-js
  • npm install axios
  • npm install -g firebase-tools
  • npm install moment --save
  • npm install react-currency-format --save
  1. function
  • npm install stripe --save
  • npm install express
  • npm i cors

Link

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published