Skip to content

福 uu 客户端 2024 重构版,每日服务超 2.3 万名师生。

License

Notifications You must be signed in to change notification settings

west2-online/fzuhelper-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fzuhelper-app

Getting started

@renbaoshuo's local development environment [click to expand]

Updated at Oct 24, 2024.

  • Develop machine: Intel(R) Core(TM) Ultra 9 185H, 64 GiB RAM
  • Operating system: Windows 11 Pro 23H2 (22631.4317)
Software or tool name Version
Node.js 20.14.0
Android Studio 2024.1.2 (Koala Feature Drop)
Android SDK 33 (Android 13.0)
NDK 26.1.10909125
OpenJDK 17.0.13+11 (winget Microsoft.OpenJDK.17)
Android Studio Emulator Pixel 8 Pro API 33 (Android 13.0, x86_64)

Before you start, make sure you have Node.js, Yarn, and Android Studio installed on your computer.

Then create an Android Studio emulator, you can follow the instructions in the Expo documentation.

After you have installed the required software, you can start developing the app.

Clone the repository and install dependencies:

git clone https://github.com/renbaoshuo/fzuhelper-app.git
cd fzuhelper-app
yarn install

Start the app:

yarn start

In the output, you'll find options to open the app in a

You can start developing by editing the files inside the app directory. This project uses file-based routing.

更新接口文档后自动生成请求

已有 Apifox 接口文档,生成请求client,推荐后端给每个接口都打上 tags,不要使用 apifox 的 API文档目录 作为 tags

  1. 打开 Apifox 桌面客户端
  2. 选择需要查阅 API 文档的服务,点击进入
  3. 点击服务左侧工具栏目中的 项目设置
  4. 点击 导出数据
  5. 选择 OpenAPI Spec 版本:OpenAPI3.0 ,文件格式:JSON,包含 Apifox 扩展的 OpenAPI 字段(x-apifox-***):包含,将 API 文档的目录,作为 Tags 字段导出:否
  6. 点击 打开URL 按钮,会生成类似以下的临时的接口文档链接:http://127.0.0.1:4523/export/openapi/2?version=3.0
  7. 修改 openapi-ts-request.config.ts 文件中的schemaPath为上面的链接
  8. 运行 yarn run openapi 自动生成请求代码

About

福 uu 客户端 2024 重构版,每日服务超 2.3 万名师生。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published