admin-vben/apps/backend-mock
vben e441d14fa2 refactor(project): @vben/vite-connect is reconfigured to support synchronization 2024-07-13 21:13:42 +08:00
..
http feat: Dynamically get the menu from the back end 2024-06-30 15:03:37 +08:00
src refactor(project): simplified part of the package, code optimization 2024-07-13 16:35:47 +08:00
README.md feat: new interface pendant can be configured to display hidden 2024-07-10 21:20:11 +08:00
ecosystem.config.cjs feat: add backend-mock app 2024-06-30 14:09:44 +08:00
nest-cli.json chore: remove sqlite 2024-06-30 22:28:35 +08:00
package.json refactor(project): @vben/vite-connect is reconfigured to support synchronization 2024-07-13 21:13:42 +08:00
tsconfig.build.json feat: add backend-mock app 2024-06-30 14:09:44 +08:00
tsconfig.json feat: add backend-mock app 2024-06-30 14:09:44 +08:00

README.md

@vben/backend-mock

Description

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

Running the app

# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod