# JIRA **Repository Path**: cquptzsn/jira ## Basic Information - **Project Name**: JIRA - **Description**: react + typescript - **Primary Language**: TypeScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-08-23 - **Last Updated**: 2022-02-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 开始: ### yarn ### yarn start --- ### 1.使用 json-server mock 数据 (建议配合 postman 使用,方便修改数据) ##### (1). 安装 ``` yarn add json-server -D ``` ##### (2). 新建一个文件夹 **json_server_mock**,专门用来存储 mcok 数据 ##### (3). 在 **json_server_mock** 文件夹下新建 db.json 文件 ##### (4). 在 package.json 文件中添加一个脚本 ``` "json_server": "json-server __json_server_mock__/db.json --watch" ``` ##### (5). 启动 json-server ``` yarn json_server ``` ### 2. qs 转换对象为 URL 字符串以简化请求 query ### 3. 使用 jira-dev-too 模拟和后端交互 ``` npx imooc-jira-tool // 安装 ``` 若有报错,执行: ``` npx imooc-jira-tool ```