• 简介
    Easy Mock 是一个可视化,并且能快速生成 模拟数据 的持久化服务
  • 下载
    https://easy-mock.com/docs#yan-shi-xiang-mu
    github https://github.com/easy-mock/easy-mock
  • 安装需要环境
    node >=8.1.1<=9
    redis >=4.0
    mongoDB >=3.4
    npm install
    npm run build
    npm run dev
    {
    "port": 7300,
    "host": "127.0.0.1",
    "pageSize": 30,
    "proxy": false,
    "db": "mongodb://127.0.0.1/easy-mock",
    "unsplashClientId": "",
    "redis": {
      "keyPrefix": "[Easy Mock]",
      "port": 6379,
      "host": "localhost",
      "password": "",
      "db": 0
    },
    "blackList": {
      "projects": [],
      "ips": []
    },
    全部安装
    npm install pm2 -g
    NODE_ENV=production pm2 start app.js
文档更新时间: 2023-07-08 20:14   作者:Yoby