You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vben e441d14fa2
refactor(project): @vben/vite-connect is reconfigured to support synchronization
1 year ago
..
http feat: Dynamically get the menu from the back end 2 years ago
src refactor(project): simplified part of the package, code optimization 1 year ago
README.md feat: new interface pendant can be configured to display hidden 1 year ago
ecosystem.config.cjs feat: add backend-mock app 2 years ago
nest-cli.json chore: remove sqlite 2 years ago
package.json refactor(project): @vben/vite-connect is reconfigured to support synchronization 1 year ago
tsconfig.build.json feat: add backend-mock app 2 years ago
tsconfig.json feat: add backend-mock app 2 years ago

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