Skip to content

Latest commit

 

History

History

README.md

高考志愿填报助手 API服务

此仓库是用于2024高考志愿填报助手智能体的API服务,通过模拟请求掌上高考网页接口获取实时数据。

安装

请先安装Node.js 20+。

# 全局安装Yarn
npm i -g yarn --registry https://registry.npmmirror.com/
# 安装依赖
yarn install
# 构建dist
npm run build

启动

# 启动服务
npm run start

后台运行

请先安装PM2。

yarn global add pm2

使用PM2启动服务并守护进程

pm2 start dist/index.js --name "gaokao-api"