好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

easy-mock

easy-mock 介绍

Easy Mock 是 一个 可视化,并且能 快速 生成 模拟数据 的持久化服务。?

特性

支持 接口代理

支持 快捷键操作

支持 协同编辑

支持 团队项目

支持 RESTful

支持 Swagger | OpenAPI Specification (1.2 & 2.0 & 3.0)

基于 Swagger 快速 创建项目

支持 显示 接口入参与返回值

支持 显示 实体类

支持 灵活性与扩展性更高的响应式数据开发

支持 自定义 响应配置(例:status/headers/cookies)

支持 Mock.js 语法

支持 restc 方式的接口预览?

?

安装

$ git clone https://github.com/easy-mock/easy-mock.git

$ cd easy-mock && npm install

配置文件

找到? con fig /default.json ,或者创建 一个 ? con fig /local.json ? 文件 ,将如下需要替换的字段换成自己的配置即可。不同环境会加载不同的 配置文件 ,在此之前你应该对 node-config 有所了解。{"port": 7300,"host": "0.0.0.0","pageSize": 30,"proxy": false,"db": "mongodb://localhost/easy-mock","unsplashClientId": "","re dis ": {"keyPrefix": "[Easy Mock]","port": 6379,"host": "localhost","password": "","db": 0},"blackList": {"projects": [],// projectId,例:"5a4495e16ef711102113e500""ips": [] // ip,例:"127.0.0.1"},"rateLimit": { // https://github.com/koajs/ratelimit"max": 1000,"duration": 1000},"jwt": {"expire": "14 days","secret": "shared-secret"},"upload": {"types": [".jpg",".jpeg",".png",".gif",".json",".yml",".yaml"],"size": 5242880,"dir": "public/upload","expire": {"types": [".json","day": -1}},"ldap": {"server": "",// 设置 server 代表启用 LDAP 登录 。例:"ldap://localhost:389" 或 "ldaps://localhost:389"(使用 SSL)"bindDN": "",// 用户名 ,例:"cn=admin,dc=example,dc=com""password": "","filter": {"base": "",// 查询 用户 的路径,例:"dc=example,dc=com""attributeName": "" // 查询字段 ,例:"mail"}},"fe": {" cop yright": "","storageNamespace": "easy-mock_","timeout": 25000,"publicPath": "/ dis t/"}} 链接 : http://www.fly63.com/nav/3141

网站地址 : https://easy-mock.com

GitHub: https://github.com/easy-mock/easy-mock

网站描述: 一个 可视化,并且能 快速 生成 模拟数据 的持久化服务

easy-mock官方网站

官方网站: https://easy-mock.com

如果觉得 网站内容还不错,欢迎将 网站 推荐给程序员好友。

查看更多关于easy-mock的详细内容...

  阅读:33次

上一篇

下一篇

第1节:remote-browser    第2节:zanePerfor    第3节:Postwoman    第4节:whistle    第5节:bombayjs    第6节:RegExr    第7节:fast-check    第8节:debugGap    第9节:RAP    第10节:Appium    第11节:AnyProxy    第12节:TestCafe    第13节:easy-mock    第14节:Jsfuzz    第15节:Browsersync    第16节:appium-desktop    第17节:perflink    第18节:statusfy    第19节:Yslow    第20节:jest-puppeteer    第21节:WebPageTest    第22节:enzyme    第23节:PhantomCSS    第24节:mocker-api    第25节:matchMedia.js    第26节:Sitespeed.io    第27节:Hiper    第28节:karmatic    第29节:Bagel    第30节:Macaca    第31节:Gremlins.js    第32节:JSONPlaceholder    第33节:dom-testing-library    第34节:DejaVue    第35节:JSDebugger    第36节:Phantom.js    第37节:puppeteer    第38节:chaijs    第39节:Airtest    第40节:Expect.js    第41节:supertest    第42节:Redom    第43节:intern    第44节:Google PageSpeed Insights    第45节:Pingdom    第46节:Sentry    第47节:service-mocker    第48节:Ava    第49节:Standard    第50节:testdouble.js    第51节:Blanket.js    第52节:cypress    第53节:F2etest    第54节:weinre    第55节:majestic    第56节:javascript-testing-best-practices    第57节:mocha    第58节:browserhacks    第59节:web-starter-kit    第60节:EasyMock    第61节:vConsole    第62节:cavy    第63节:Fundebug    第64节:augury    第65节:FrontJS    第66节:Jest    第67节:Nightwatch.js    第68节:tamperchrome    第69节:nightmare    第70节:airtap    第71节:strider    第72节:qunit    第73节:eruda    第74节:wpt    第75节:Chii    第76节:log    第77节:Cucumber    第78节:TagUI    第79节:uirecorder    第80节:Sinon    第81节:Protractor    第82节:Firebug    第83节:Casper.js    第84节:should.js    第85节:node-tap    第86节:jasmine    第87节:rewire    第88节:Karma    第89节:Zelos    第90节:tape    第91节:vue-devtools    第92节:FAutoTest    第93节:Fiddler    第94节:unexpected.js    第95节:avoriaz    第96节:vuetron