GithubHelp home page GithubHelp logo

amazon-clone's Introduction

Day 1 -- Basic Setup

  1. Basic setup of VS Code, React and Git
  2. Install Tools
  3. npx create-react-app your-app-name
  4. Create a Git Repository

Day 2 -- Featured Product

  1. Added Products in App.js
  2. Create Data.js file and added details of the clothes
  3. Added some product details

Day 3 -- Adding Routing

  1. npm i react-router-dom
  2. create route for home screen
  3. create router for product screen

Day 4 -- Creating Backend for the App

  1. Install Node
  2. Install npm
  3. Install express and nodemon
  4. create data.js for the products
  5. create server.js for the routes

Day 5 -- Fetch Products from Backend

  1. set proxy in package.json
  2. npm install axios
  3. use state hook
  4. use effect hook
  5. use reducer hook

Day 6 - Manage State by Reducer Hook

  1. define reducer
  2. update fetch data
  3. get state from usReducer

amazon-clone's People

Contributors

devcommunitynepal avatar

Watchers

 avatar

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.