mirror of
https://github.com/apache/doris.git
synced 2026-11-04 07:31:17 +00:00
### What problem does this PR solve? Problem Summary: The legacy UI package depends on `axios` `^0.19.2`, which is affected by known security advisories. This updates the dependency to a patched release line (`^1.16.0`) to reduce exposure from vulnerable transitive HTTP client behavior. Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
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:8030
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