/demo-react-admin

ES6, Create-React-App, React v16.x, React-Router v4.x, Antd v3.x, React Intl, Redux v4.x, React-Redux v5.x, Axios, Redux-thunk, ServiceWorker, Less

Primary LanguageJavaScript

README

demo-react-admin

Installation

  • Install dependencies
    npm install

Run the App

  • Simply run:

    npm start
  • The App will be running on localhost:3000

  • Since the App requests APIs from demo-node-api, you need to run both of the projects to check out the full flow of this app.

  • Or you can simply revise the state isAuthenticated in App.js to look inside.

Deployment

  • To build, run:
      npm run build
  • Copy the build to the src dic of demo-node-api
  • The App will be running on localhost:3001

TODO

  • More functionality
  • Optimization
  • Antd customized theme
  • Replace css with Less
  • Replace Fetch with Axios
  • Add request/response interceptors
  • Webpack v4.x
  • Redux-saga
  • reselect
  • Immutable
  • Unit test
  • SSR