Giter VIP home page Giter VIP logo

ourshop's Introduction

GITONYSHOP

Lessons

  1. Introduction
  2. Install Tools
  3. Create React App
  4. Create Git Repository
  5. List Products
    1. create product array
    2. add product images
    3. render products
    4. style products
  6. Add routing
    1. npm i react-router-dom
    2. create route for home screen
    3. create router for product screen
  7. Create Node.JS server
    1. rum npm init in root folder
    2. Update package.json set type: module (to run import instead of require)
    3. Add .js to imports
    4. npm install express
    5. create server.js
    6. add start command as node backend/server.js
    7. require express
    8. create route for / return backend is ready.
    9. move products.js from front to backend
    10. create route for /api/products
    11. return products
    12. run npm start
  8. Fetch Products From Backend
    1. set proxy in package.json
    2. npm install axios
    3. use STATE, EFFECT, REDUCER hook
  9. Manage State by Reducer Hook
    1. define reducer
    2. update fetch data
    3. get start from useReducer
  10. Add bootstrap UI Framework
  11. npm install react-bootstrap bootstrap
  12. update App.js
  13. Create Product and Rating Component
  14. create Rating component
  15. create Product component
  16. use Rating component in Product componeny
  17. Create Product Detail Screen
  18. fetch product from backend
  19. create 3 colums for image, info and action

ourshop's People

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.