Coder Social home page Coder Social logo

amazon-clone-3's Introduction

Project made by Simon He with reference to Clever Programmer

Versions:

  • Node: v12.18.1
  • Npm: 6.12.1

This application is hosted live on https://clone-8bfdb.web.app

To make your own application, you have to set up your own firebase and have packages installed.

To do this:

  1. If you haven't done so, you'll need to install Node.js. You can do so by going to the node.js website
  2. Npm comes packaged with node but additional packages you will need to install are FRONTEND
    • firebase
    • dotenv
    • react-router-dom
    • material-ui/core
    • material-ui/icons
    • react-currency-format
    • @stripe/stripe-js
    • @stripe/react-stripe-js
    • axios
    • moment BACKEND
    • express
    • cors
    • stripe
  3. To set up firebase, go to the firebase website
    1. If you haven't done so, make an account
    2. Create a new project and name it (Make sure you tick firebase hosting)
    3. Click next until you're taken to the console
    4. Go to the burger menu and navigate to project settings and click on that
    5. Scroll down until you see Firebase SDK snippet and click on config
    6. Copy that information into a backend file where you're working with the database
  4. To take to production mode
    1. Run firebase init
    2. Select hosting
    3. Use an existing project
    4. Select this project
    5. Write "build" as your public directory
    6. Say yes to the single-page app(SPA) option
    7. Whenever you make changes or is ready to be brought to production, run npm run build
    8. Run firebase deploy to deploy your project to production mode

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.