pansoft-plrl/apps/backend-mock
handsomeFu 577cc85851
fix: change deprecated func (#4236)
2024-08-26 20:32:02 +08:00
..
api feat: refactor and improve the request client and support refreshToken (#4157) 2024-08-19 22:59:42 +08:00
middleware feat: refactor and improve the request client and support refreshToken (#4157) 2024-08-19 22:59:42 +08:00
routes feat: use simpler nitro instead of nestjs to implement mock service 2024-07-20 08:31:05 +08:00
utils feat: add modal and drawer components and examples (#4229) 2024-08-25 23:40:52 +08:00
.env feat: refactor and improve the request client and support refreshToken (#4157) 2024-08-19 22:59:42 +08:00
README.md feat: refactor and improve the request client and support refreshToken (#4157) 2024-08-19 22:59:42 +08:00
error.ts fix: change deprecated func (#4236) 2024-08-26 20:32:02 +08:00
nitro.config.ts feat: Feature/pro docs (#70) 2024-07-28 14:29:05 +08:00
package.json feat: refactor and improve the request client and support refreshToken (#4157) 2024-08-19 22:59:42 +08:00
tsconfig.build.json feat: add backend-mock app 2024-06-30 14:09:44 +08:00
tsconfig.json feat: use simpler nitro instead of nestjs to implement mock service 2024-07-20 08:31:05 +08:00

README.md

@vben/backend-mock

Description

Vben Admin 数据 mock 服务,没有对接任何的数据库,所有数据都是模拟的,用于前端开发时提供数据支持。线上环境不再提供 mock 集成,可自行部署服务或者对接真实数据,由于 mock.js 等工具有一些限制,比如上传文件不行、无法模拟复杂的逻辑等,所以这里使用了真实的后端服务来实现。唯一麻烦的是本地需要同时启动后端服务和前端服务,但是这样可以更好的模拟真实环境。该服务不需要手动启动,已经集成在 vite 插件内,随应用一起启用。

Running the app

# development
$ pnpm run start

# production mode
$ pnpm run build