-
NodeJS:
Please install NodeJS >= 10.15.0. Which automatically installs NPM. If you already have them, you're good to go. ✔ -
Amazon Backend:
Please clone the Amazon Backend Repository
Once you have the Prerequisites covered:
-
Clone this repository from GitHab onto your local computer.
$ git clone https://github.com/Ary-an/amazon-web-clone.git
-
Navigate into the project folder and install all of its necessary dependencies with npm.
$ cd amazon-web-clone $ npm install -
Create
.envfile and added following credentialsREACT_APP_STRIPE_PAYMENT_KEY = (Your stripe Publishable key) REACT_APP_BACKEND_PATH = (The address of backend running)
-
Once that's done, You are ready to start server locally 😃
Now you can run -$ npm start
to start the local development server.