Skip to content

VNDhanush/amazon-clone

Repository files navigation

This project was done by cleverprogrammers which I have tried coding watching their stream and got it working too.

Need these

Node.js

Any one of the code editors Preferable visual studio code

Firebase Accountfirebase

Open CLI

git clone https://github.com/VNDhanush/amazon-clone.git

Run npm install -g firebase-tools(https://firebase.google.com/docs/cli#mac-linux-npm)

Run npm install react-rounter-dom

Create Firebase Account

Select the Application Name. Then Select the Web icon Then Next--->Next--->Next. Then go to Authentication--->Sign-in method --->enable email/password only --->GO TO CONSOLE ---->Go to Settings----->At the bottom You can see three options click on Config copy the content and place it in your firebase.js

Available Scripts

In the project directory, you can run:

Run npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Run firebase login

Login into your respected firebase accounts.

Run firebase init

You get few options select the hosting option using Space bar then press enter.

Then choose as per your decision to use existing project or new project.=>Then type build =>Then Y

Run npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Run firebase deploy

Your application is deployed.

Releases

No releases published

Packages

No packages published