Mockster is a minimalistic, lightweight and simple mock server for testing your http clients. It can be embedded in your CI pipeline for tests or used as a standalone server while developing your application.
docker run -p 8080:8080 --rm ghcr.io/gonfff/mockster:<version>- by YAML-file with environment variable MOCK_FILE_PATH can be provided (example)
- by sending a POST request to the
/management/mocksendpoint with the following body (example) - by importing YAML-file with UI
- by creating mock with UI
By sending a request to the /mock/<your_path> endpoint and providing all nessessary headers, body, cookies, query params.
Mockster has a simple UI for creating and managing mocks. It is available on the / endpoint.
MOCK_FILE_PATH- path to YAML-file with mocksLOG_FORMATTER- log formatter (text or json)PORT- port on which the server will be runningSTATIC_PATH- path to static files (UI)
Thats my first Go, Bootstrap, JS project, so I will be glad to hear any feedback and suggestions. Feel free to open issues and PRs.

