All Projects → boyney123 → Mockit

boyney123 / Mockit

Licence: mit
A tool to quickly mock out end points, setup delays and more...

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects
HTML
75241 projects

Projects that are alternatives of or similar to Mockit

Dyson
Node server for dynamic, fake JSON.
Stars: ✭ 814 (-46.94%)
Mutual labels:  json, mock, stub
Smoke
💨 Simple yet powerful file-based mock server with recording abilities
Stars: ✭ 142 (-90.74%)
Mutual labels:  api, json, mock
Node Quick Mock
🌞 基于Express的mock接口平台
Stars: ✭ 33 (-97.85%)
Mutual labels:  api, json, mock
Http Fake Backend
Build a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
Stars: ✭ 253 (-83.51%)
Mutual labels:  api, json, mock
Generator Http Fake Backend
Yeoman generator for building a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
Stars: ✭ 49 (-96.81%)
Mutual labels:  api, json, mock
Behat Api Extension
API extension for Behat, used to ease testing of JSON-based APIs
Stars: ✭ 92 (-94%)
Mutual labels:  api, json
Cuckoo
Boilerplate-free mocking framework for Swift!
Stars: ✭ 1,344 (-12.39%)
Mutual labels:  mock, stub
Symfony Jsonapi
JSON API Transformer Bundle for Symfony 2 and Symfony 3
Stars: ✭ 114 (-92.57%)
Mutual labels:  api, json
Impersonator
Ruby library to record and replay object interactions
Stars: ✭ 100 (-93.48%)
Mutual labels:  mock, stub
Perun
A command-line validation tool for AWS Cloud Formation that allows to conquer the cloud faster!
Stars: ✭ 82 (-94.65%)
Mutual labels:  json, tool
Parse Google Docs Json
Authenticates with Google API and parse Google Docs to JSON or Markdown
Stars: ✭ 100 (-93.48%)
Mutual labels:  api, json
Jam Api
Parse web pages using CSS query selectors
Stars: ✭ 1,375 (-10.37%)
Mutual labels:  api, json
Api Client Generator
Angular REST API client generator from Swagger YAML or JSON file with camel case settigs
Stars: ✭ 92 (-94%)
Mutual labels:  api, json
Tabtoy
高性能表格数据导出器
Stars: ✭ 1,302 (-15.12%)
Mutual labels:  json, tool
Rundeck Cli
CLI tool for Rundeck
Stars: ✭ 98 (-93.61%)
Mutual labels:  api, tool
Pager Api
Easy API pagination for Rails
Stars: ✭ 86 (-94.39%)
Mutual labels:  api, json
Rki Covid Api
🦠🇩🇪📈 An API for the spread of covid-19 in Germany. Data from Robert-Koch-Institut.
Stars: ✭ 98 (-93.61%)
Mutual labels:  api, json
Flickr Sdk
Almost certainly the best Flickr API client in the world for node and the browser
Stars: ✭ 104 (-93.22%)
Mutual labels:  api, json
Mimic
A mocking library for Elixir
Stars: ✭ 104 (-93.22%)
Mutual labels:  mock, stub
Invoice As A Service
💰 Simple invoicing service (REST API): from JSON to PDF
Stars: ✭ 106 (-93.09%)
Mutual labels:  api, json

MockIt: A tool to quickly create mocked APIs.

Stop wasting time mocking APIs. MockIt gives you an interface to configure and create REAL mocked endpoints for your applications. Whilst you wait for APIS to be built use MockIt to talk to a real service.


Travis CodeCov Netlify Status MIT License PRs Welcome All Contributors

Watch on GitHub Star on GitHub Tweet

Donate


header

Features: Live Reload, Chaos Engineering, Authentication, CORS and more...

Read the Docs | Edit the Docs


The problem

When building applications you often need to interact with services. When the services are not ready to be consumed you have a few options:

  1. Mock out the response with a JSON file
  2. Create a mock service yourself
  3. Use MockIt.

This solution

This tool was designed to help developers quickly create endpoints for their applications. No need to create a server, just use docker and run this project locally. You can create, edit and manage routes to your API. Every change to the API will be reflected on the server and updated straight away.

This tool comes with a few features out the box:

  • CORS
  • Basic Authentication
  • Chaos Monkey (Unleash a monkey to take down your endpoints)

More information about how it works, its features can be found on the docs.

Read the docs and get started

Getting Started

Make sure you have docker running

git clone https://github.com/boyney123/mockit.git
cd mockit && docker-compose up --build -d

Once everything is up and running go to http://localhost:5000 to see MockIt.

For instructions on how to use MockIt please see the documentation.

Permissions

If you get error: Couldn't connect to Docker daemon at http+docker://localhost - is it running? you might need run with sudo

sudo docker-compose up --build -d

Local install and running tests

If you want to install and run the tests for all apps then you can run this script:

sh install-and-test.sh

If you have any problems with permissions you might need to chmod the file

chmod +x install-and-test.sh && ./install-and-test.sh

Viewing the dashboard, server and API

Once Docker is running you have three applications running on the machine.

  1. The client: http://localhost:5000
  2. The client-server: http://localhost:4000
  3. The MockIt API (this is the server that runs your API): http://localhost:3000

If you want to view the dashboard to get started go to http://localhost:5000.

If you want to interact with your new API go to http://localhost:3000.

For example, if you have a /user route setup, go to http://localhost:3000/user to view the data.

Tools

Documentation

Testing

Contributing

If you have any questions, features or issues please raise any issue or pull requests you like.

Donating

If you find this tool useful, feel free to buy me a 👍

Buy a drink

License

MIT.

Contributors

Thanks goes to these wonderful people (emoji key):

David Boyne
David Boyne

💻 📖 🎨 🤔 👀 🔧
Liran Tal
Liran Tal

🛡️
Hongarc
Hongarc

📖
Hugo Locurcio
Hugo Locurcio

💻
Andrew Hall
Andrew Hall

📖
Peter Grainger
Peter Grainger

📖
Ben
Ben

💻
MCRayRay
MCRayRay

💻
Fred Bricon
Fred Bricon

💻
fliu2476
fliu2476

🐛
David Esposito
David Esposito

📖
Mickaël
Mickaël

📖
José Carréra Alvares Neto
José Carréra Alvares Neto

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].