Giter Site home page Giter Site logo

react-template's Introduction

项目名称

启动方式

下载依赖,

$ npm i

启动服务,

$ npm run start

打包配置

$ npm run build

接口地址

服务器信息

部署信息

目录结构

// src 目录介绍
.
├── assets // 静态资源文件
│   ├── fonts // 字体
│   └── images // 图片
├── common // 公有模块
│   ├── styles // 公有样式
│   └── utils // 工具包
├── components // 全局组件
├── hooks // 全局hooks
├── interface // 接口定义
├── models // 全局数据流
├── pages // 页面
│   ├── backstage // 后台页面
│   │   ├── common // 后台页面公有资源
│   │   │   ├── components // 后台页面公有组件
│   │   │   └── style // 后台页面公有样式
│   │   ├── comprehensiveManagement // 综合管理
│   │   ├── monitoringManagement // 设备监控
│   │   ├── overview // 概览
│   │   ├── resourceManagement // 资源管理 
│   │   ├── systemInformation // 系统管理
│   │   │   ├── dictionary // 数据字典
│   │   │   │   └── [id] // 字典详情
│   │   │   └── userManagement // 用户管理
│   │   │       └── [type]
│   │   └── trainingManagement // 实训管理
│   │       └── teachingPlan // 教学计划
│   │           └── [teachingType]
│   └── portal // 前台界面
│       ├── article // 文章
│       │   ├── [type] // 文章类型
│       │   │   └── [id] // 文章详情
│       │   └── hooks // 文章hooks
│       ├── components // 前台公有组件
│       ├── detail // 详情
│       │   └── [id]
│       ├── home // 首页
│       │   └── [rankType] // 排行
│       ├── newsAnnouncement // 新闻公告
│       │   └── hooks
│       ├── personal // 个人中心
│       │   ├── [id]
│       │   │   ├── social
│       │   │   └── teacher
│       │   └── components
│       ├── resourceCenter // 资源中更新
│       │   └── [type] // 资源类型
│       │       └── [id] // 资源ID
│       │           └── [name] // 资源类型名称,如:doc、video、audio
│       ├── shared // 开放共享
│       ├── trainingCenter // 实训中心
│       │   └── [id]
│       │       └── [type]
│       │           └── hooks
│       └── trainingLaboratory // 实验室
│           └── [id]
├── routes // 路由信息
└── services // 接口配置信息
    └── api

注意事项

分支提交流程

  1. 从dev获取最新的代码
  2. 提交代码直接推送自己的分支即可
  3. 在coding上提交合并分支请求,你的分支 -> dev

接口对接情况

详见根目录 TASKLIST.md

react-template's People

Contributors

jacky8080 avatar

Watchers

James Cloos avatar jack avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.