Giter VIP home page Giter VIP logo

mocky's Introduction

Mocky

Mock your HTTP responses to test your REST API

Mocky is a simple app which allows to generate custom HTTP responses.
It's helpful when you have to request a build-in-progress WS, when you want to mock the backend response in a singleapp, or when you want to test your WS client.

Is Mocky online?

Yes, Mocky is online, free and unlimited!

Try me now! http://www.mocky.io

Everything is done to provide the best service quality, but I don't guarantee the sustainability or the stability of the application.

Mocky on my own server?

You can easily install Mocky on your own server. You just need... a JVM!

Quick steps to install Mocky

  • Install PlayFramework 2.1.1 (instructions) in your dev environment.
  • Clone Mocky
  • Configure the app in conf/application.conf. The main setting is the version key. You have 3 different repositories where you can store your mocks:
  • v1: mocks are stored on gist. Nothing is needed, it's free, but limited to 200 requests / hours.
  • v2: mocks are stored in mongodb. Don't forget to fill the mongodb.uri key.
  • fs: mocks are stored on your filesystem (in the data dir. by default).
  • If you want to launch mocky in dev mode, just launch play run.
  • If you want to use mocky on a server, launch play dist, copy the generated zip to your server, unzip it and launch ./start (easy, ain't it?)

License

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004

Copyright (C) 2004 Sam Hocevar [email protected]

Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  1. You just DO WHAT THE FUCK YOU WANT TO.

mocky's People

Contributors

jnettome avatar cleofide avatar

Watchers

Michael jentsch avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.