6

GitHub - Huseyinnurbaki/mocktail: Free, 11MB, containerized, self-hosted mock se...

 3 years ago
source link: https://github.com/Huseyinnurbaki/mocktail
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Mocktail V2 is here !

Mocktail is completely free, 11mb,self-hosted, containerized mock server with a dashboard. There are no limitations or restrictions unlike most mock servers. You can mock any request. Mock apis can be exported and imported. Learn more on Capabilities.

Quickstart rocket

Deploy with Helm ⎈

youtube tutorial is being prepared.

$ helm repo add hhaluk https://huseyinnurbaki.github.io/charts/
$ helm install mocktail hhaluk/mocktail

****** Application url will be prompted. ******

See values.yaml at https://github.com/Huseyinnurbaki/charts under hhaluk/mocktail for customized deployment.

Run Mocktail in a docker container whaleSee Youtube Tutorial

$ docker run -p 4000:4000 -d hhaluk/mocktail:2.0.1

See "stable-version" tag at the beginning of this file to install the latest stable version.

Go to localhost:4000 runner


This gif belongs to the previous ui, which is similar to the new dashboard. Will be replaced soon.

Capabilities sunglasses

  • Generate mock apis for Get/Post/Put/Patch/Delete using the Generate tab.
  • Catalog tab lists added apis.
  • See api details by clicking details button of an api under Catalog tab.
  • Test added apis.
  • Remove unused apis.
  • Export search results to json.
  • Import exported json.

V2 Keynotes white_check_mark

  • NodeJS replaced with Go Fiber.
  • React Upgrade
  • Containerize Mocktail
  • Build Scripts (GitHub Actions)
  • Update Readme
  • Define deployment commands.
    • Docker
    • Kubernetes (Helm)

Upcoming Features fire

  • Multiple DB Support
  • Graphql support
  • Exceptions Scenarios

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK