Christopher Anabo
Christopher Anabo
Senior Tech Lead
Christopher Anabo

Notes

Setting Up ReactJS

Setting Up ReactJS

npx create-react-app my-app

npm start
    Starts the development server.

  npm run build
    Bundles the app into static files for production.

  npm test
    Starts the test runner.

  npm run eject
    Removes this tool and copies build dependencies, configuration files
    and scripts into the app directory. If you do this, you can’t go back!

We suggest that you begin by typing:

  cd my-app
  npm start

 

React bare components creating Sidebar with submenu

  • npm install styled-component
  • npm install react-icons
  • npm install react-router-dom

 

React Redux vs LocalStorage vs React Context

  • Setup
    •  

 

Enable proxy

  • At package.json
    • "name": "go-movies-frontend", "version": "0.1.0",

      "private": true,

      "proxy": "http://localhost:8080",

 

GO BACKEND

  1.  go mod init
  2. go run main.go
  3.