Files
doris/ui
鹏翔 a88782e0c5 [UI Part 4] A new UI for Frontend (#4602)
A new FE UI interface implemented with React framework.
Need to work with the new Spring framework and RESTful API in #4596.

This is a simple UI for Doris. User can develope their own UI if they want

Proposal #4308
2020-09-16 15:03:24 +08:00
..

Getting Started

Installation dependencies

$ npm install

or use yarn

$ npm install -g yarn
$ yarn install --pure-lockfile

Start server.

$ npm run dev

# visit http://localhost:8233

Submit code

$ git commit -m "xxx" will automatically run npm run lint to check grammar rules

Construct

$ npm run build

Technology stack convention

react + react-router-dom + ant-design + rxjs

File introduction

  public: some static resources
  
  src: development home directory
    assets: static resources, pictures, etc., refer to webpack
    components: common components
    pages: subpages, can contain subcomponents
    utils: public methods

  webpack.config.js: webpack configuration