# React-admin **Repository Path**: Rachird/react-admin ## Basic Information - **Project Name**: React-admin - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-06-15 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### Target ### Usage ``` 本地运行 yarn install || npm install yarn start || npm start ``` ### Tech Stack - [x] 打包构建:Babel Webpack - [x] 热更新 - [x] 包管理:Yarn || Npm - [x] UI库:React & React-Dom - [x] UI组件:Antd(2.10x) - [x] 路由:React-Router(4.x) & History - [x] JS:ES6 - [x] 样式:Less - [x] 框架:Redux - [x] 与后台通信:Fetch - [ ] 图片懒加载 - [ ] 使用ts重构 ### Features * 音乐模块 * 用fetch调用了百度音乐api(JSONP) * 工具模块 * 实现对工资、房租、身体指数、年龄的智能计算 * 用redux实现了待办事项模块 * 画廊模块 * 图片懒加载(待开发) ### Third-party libraries * css动画库:Animate.css * 富文本编辑:react-draft-wysiwyg * 全屏插件:screenfull * 图片弹层查看插件:photoswipe * 日期处理:Moment * 可视化图表:echarts-for-react ### Project Structure ``` ├── build.js 项目打包后的文件 ├── config webpack配置文件 │ ├──... │ ├──webpack.config.dev.js 开发环境配置 │ ├──webpack.config.prod.js 生产环境配置 ├── node_modules node模块目录 ├── public │   └──index.html ├── scripts │   ├── build.js 打包项目文件 │   ├── start.js 启动项目文件 │   └── test.js 测试项目文件 ├── src │   ├── client 汇聚目录 │   ├── common 核心目录 │   │   ├── actions redux中的action │   │   ├── components 通用功能组件 │   │   ├── container 通用样式组件 │   │   ├── images │   │   ├── pages 页面模块 │   │   ├── reducers redux中的reducer │   │   ├── utils 工具类 │   │   │ ├── config.js 通用配置(全局变量待实现) │   │   │ ├── menu.js 菜单配置 │   │   │ └── ajax.js ajax模块(日后用到) │   │   └── routes.js 前端路由 │   └── server 服务端目录(日后用到) │   └── controller ├── .gitignore ├── package.json ├── README.md └── yarn.lock ```