Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marle3003/mokapi
Easy and flexible API mocking using Go and Javascript - https://mokapi.io
https://github.com/marle3003/mokapi
api fake javascript kafka ldap mock openapi rest-api smtp swagger testing
Last synced: 14 days ago
JSON representation
Easy and flexible API mocking using Go and Javascript - https://mokapi.io
- Host: GitHub
- URL: https://github.com/marle3003/mokapi
- Owner: marle3003
- License: mit
- Created: 2020-04-12T11:00:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-01T07:59:11.000Z (14 days ago)
- Last Synced: 2024-11-01T08:26:09.686Z (14 days ago)
- Topics: api, fake, javascript, kafka, ldap, mock, openapi, rest-api, smtp, swagger, testing
- Language: Go
- Homepage: https://mokapi.io
- Size: 341 MB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Easy and flexible API mocking
**Mokapi** is an open-source tool that allows Agile, DevOps and Continuous Deployment teams
to create and test API designs before actually building them.With Mokapi you can quickly and easily test various
scenarios, such as delayed or failed responses without
having to rely on a fully functional API.Mokapi helps you improve the quality of APIs and
reduces the risk of bugs or errors in production.Its core feature are:
- **Multiple Protocol support**: HTTP, HTTPS, Apache Kafka, SMTP, LDAP
- **Everything as Code**: Reusing, version control, consistency and integrate mocks with your CI/CD.
- **An embedded JavaScript engine** to control everything - status, headers, delays, errors or other edge cases.
- **Patch Configuration** changes for mocking needs, rather than changing the original contract
- **Multiple Provider support**: File, HTTP, GIT, NPM to gather configurations and scripts.
- **Dashboard** to see what's going on.
## Example
## Web UI
## Usage
```shell
docker run --env 'MOKAPI_Services_Swagger-Petstore_Config_Url'='https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.yaml' \
--env 'MOKAPI_Services_Swagger-Petstore_Http_Servers[0]_Url'='http://:80' \
-p 80:80 -p 8080:8080 \
mokapi/mokapi:latest
```## Documentation
- [Get Started](https://mokapi.io/docs/guides/get-started/welcome)
- [HTTP](https://mokapi.io/docs/guides/http/overview)
- [Kafka](https://mokapi.io/docs/guides/kafka/overview)
- [LDAP](https://mokapi.io/docs/guides/ldap/overview)
- [SMTP](https://mokapi.io/docs/guides/smtp/overview)
- [Javascript API](https://mokapi.io/docs/javascript-api)
- [Examples & Tutorials](https://mokapi.io/docs/examples)
- [Blogs](https://mokapi.io/docs/blogs)