lazy-mock - 一个快速生成后端模拟数据的懒人工具

  •        178

一个快速生成后端模拟数据的懒人工具

https://wjkang.github.io/lazy-mock
https://github.com/wjkang/lazy-mock

Dependencies:

jsonwebtoken : ^8.1.0
koa : ^2.3.0
koa-body : ^2.5.0
koa-compose : ^4.0.0
koa-jwt : ^3.2.2
koa-router : ^7.2.1
koa-static2 : ^0.1.8
koa2-cors : ^2.0.5
lodash : ^4.17.5
lodash-id : ^0.14.0
lowdb : ^1.0.0
require-directory : ^2.1.1
shortid : ^2.2.13
ws : ^6.0.0

Tags
Implementation
License
Platform

   




Related Projects

puer-mock - Puer + Mock.js = A configurable mock server with configurable mock(random) data.

  •    HTML

Puer + Mock.js = A configurable mock server with configurable mock(random) data. Please install puer first.

FakeRest - Patch fetch/XMLHttpRequest to fake a REST API server in the browser, based on JSON data.

  •    Javascript

Intercept AJAX calls to fake a REST server based on JSON data. Use it on top of Sinon.js (for XMLHTTPRequest) or fetch-mock (for fetch) to test JavaScript REST clients on the browser side (e.g. single page apps) without a server. FakeRest uses a standard REST flavor, described below.

api-mock - Creates a mock server based on an API Blueprint

  •    HTML

This project is no longer under active development and we're looking for a new maintainer (or owner). Please open an issue if you are interested in helping out. API-Mock is a node.js npm module that generates a mock server (express) from your API specification. Document your API in the API blueprint format, and API-Mock mocks your routes and sends the responses defined in the api spec.

dyson - Node server for dynamic, fake JSON.

  •    Javascript

Node server for dynamic, fake JSON. When developing client-side applications, often either static JSON files, or an actual server, backend, datastore, or API, is used. Sometimes static files are too static, and sometimes an actual server is not available, not accessible, or too tedious to set up.

Mock SMTP Server

  •    

The Mock SMTP Server is a simple email server that only displays each email message it receives in the application window. It is intented to test applications that send email. It will not store or relay email. Only the minimum requirements of RFC 5321 are implemented.


SimulatorRemoteNotifications - Library to send mock remote notifications to the iOS simulator

  •    Objective-C

SimulatorRemoteNotifications is a library to send mock remote notifications to the iOS simulator. The library extends UIApplication by embedding a mini server that listen for UDP packets containing JSON-formated payload, and a service to send notifications to the mini server.

httplive - HTTP Request & Response Service, Mock HTTP

  •    Go

The HttpLive is a tool for API designers, Proxy, mobile and web application developers to develop and test their applications faster without being dependent on any server or backend applications. HttpLive has a built-in user interface. Therefore, you can do all the configurations you need on this UI, and with dynamic URL (Routing) definitions you can specify your own JSON return types for your applications.

Kakapo - 🐤Dynamically Mock server behaviors and responses in Swift

  •    Swift

Dynamically Mock server behaviors and responses. Kakapo is a dynamic mocking library. It allows you to replicate your backend APIs and logic. With Kakapo you can easily prototype your application based on your API specifications.

json-server - Get a full fake REST API with zero coding in less than 30 seconds

  •    Javascript

JSON Server is a full fake REST API with zero coding in less than 30 seconds Created with <3 for front-end developers who need a quick back-end for prototyping and mocking.

node-mitm - Intercept and mock outgoing Node

  •    Javascript

Mitm.js is a library for Node.js (and Io.js) to intercept and mock outgoing network TCP and HTTP connections. Mitm.js intercepts and gives you a Net.Socket to communicate as if you were the remote server. For HTTP requests it even gives you Http.IncomingMessage and Http.ServerResponse — just like you're used to when writing Node.js servers. Except there's no actual server running, it's all just In-Process Interception™. Intercepting connections and requests is extremely useful to test and ensure your code does what you expect. Assert on request parameters and send back various responses to your code without ever having to hit the real network. Fast as hell and a lot easier to develop with than external test servers.

atmo - :heavy_check_mark: Mock data for your prototypes and demos. Remote deployments to Zeit now.

  •    TypeScript

Atmo makes creating mock web services for demos, presentations and experiments ridiculously easy.You are looking at the new Atmo, which is an electron app. But the initial version was a CLI tool. Find atmo classic here.

node-mocks-http - Mock 'http' objects for testing Express routing functions

  •    Javascript

Mock 'http' objects for testing Express routing functions, but could be used for testing any Node.js web server applications that have code that requires mockups of the request and response objects. This project is available as a NPM package.

apimocker - node.js module to run a simple http server for mock service responses.

  •    Javascript

Then you can visit "http://localhost:7878/first" in your browser to see it work. The quiet and port options can also be set in the config.json file, and values from config.json will override values from the command line. After you get up and running, you should put your config.json and mock responses in a better location. It's not a good idea to keep them under the "node_modules" directory. Make sure another process is not already using the port you want. If you want port 80, you may need to use "sudo" on Mac OSX. Sometimes you only want some service endpoints to be mocked, but have other requests forwarded to real service endpoints. In this case, provide the proxy URL option on startup e.g. apimocker --proxy http://myrealservice.io When the proxy option is set, any requests to apimocker with URLs that are not configured with mock files, will be forwarded to the specified URL.

zan-proxy - An extensible proxy for PC/Mobile/APP developer

  •    Vue

Zan Proxy is an HTTP proxy server written in Node.js, which can be used to modify requests and mock reponse data. It is also a tool for custom DNS resolving and requests monitoring. The proxy server can be easily configured by a user-friendly interface. In addition, a mechanism is provided for developers to customize the behavior of the server. The website for management will be opened automatically.

vue-chat - :calling: a web chat tool

  •    Vue

:calling: a web chat tool. Front-End : vue+vuex+vue-cli+vue-router+axios+scss;Back-end: node(koa2)+mysql+JWT(Json web token); socket.io

Mock Objects for ATG Dynamo

  •    Java

Mock Objects for ATG Dynamo defines mock objects that simulate services provided by the ATG Dynamo application server.

duckrails - A development tool to quickly & dynamically mock API endpoints

  •    Ruby

DuckRails is a development tool. Its main purpose is to allow developers to quickly mock API endpoints that for many possible reasons they can't reach at a specific time.

drakov - Mock Server that implements the API Blueprint specification

  •    Javascript

We have setup a google group to assist with the answering of questions any users of Drakov may have. Since version 1.0.2, a version of the Drafter package is being used, which attempts to install the version with C bindings (faster), but falls back if compilation of this package fails to Drafter.js.

mock-api - A json-api-mock framework for Android

  •    Java

A json-api-mock framework for Android

cpp-jwt - JSON Web Token library for C++

  •    C++

JSON Web Token(JWT) is a JSON based standard (RFC-7519) for creating assertions or access tokens that consists of some claims (encoded within the assertion). This assertion can be used in some kind of bearer authentication mechanism that the server will provide to clients, and the clients can make use of the provided assertion for accessing resources. This provides JWT client support in C++.





We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.