# StudentManagement **Repository Path**: zhuzhaofeng/StudentManagement ## Basic Information - **Project Name**: StudentManagement - **Description**: No description available - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-05-08 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # StudentManagement #### 介绍 ## Mock 数据 采用`json-server`做 moke 数据 ### Home - http://localhost:3000 ### Resources - http://localhost:3000/students - http://localhost:3000/grade - http://localhost:3000/menus ## `package.json` `scripts`介绍 ```json { "scripts": { "mock": "npx json-server --watch ./mocks/db.json", "dev": "concurrently \"npm run serve\" \"npm run mock\"" } } ``` - `mock` 仅启动`mock`数据服务器 运行与`http://localhost:3000` - `dev` 启动`vue`并且同时启动`mock`数据服务器 两者分别运行与`http://localhost:8080`以及`http://localhost:3000` ## 安装 ```bash git clone https://gitee.com/zhuzhaofeng/StudentManagement.git cd StudentManagement && npm install ``` ## 运行(依赖`mock`数据,请使用`dev`) ```bash cd StudentManagement && npm run dev ``` ## 访问 [http://localhost:8080](http://localhost:8080)