{"id":17703861,"url":"https://github.com/birddevelper/mockimouse","last_synced_at":"2025-09-07T14:38:38.645Z","repository":{"id":65562794,"uuid":"594060073","full_name":"birddevelper/MockiMouse","owner":"birddevelper","description":"MockiMouse helps you create dynamic fake API (mock server) to test or demo your front-end","archived":false,"fork":false,"pushed_at":"2025-08-15T06:12:18.000Z","size":24626,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-15T07:17:29.454Z","etag":null,"topics":["api","backend","fake","frontend","json","mock","mock-server","rest-api","xml"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/birddevelper.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-27T14:04:41.000Z","updated_at":"2025-08-15T06:02:27.000Z","dependencies_parsed_at":"2024-01-04T21:45:14.105Z","dependency_job_id":null,"html_url":"https://github.com/birddevelper/MockiMouse","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/birddevelper/MockiMouse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birddevelper%2FMockiMouse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birddevelper%2FMockiMouse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birddevelper%2FMockiMouse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birddevelper%2FMockiMouse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/birddevelper","download_url":"https://codeload.github.com/birddevelper/MockiMouse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birddevelper%2FMockiMouse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274049539,"owners_count":25213651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","backend","fake","frontend","json","mock","mock-server","rest-api","xml"],"created_at":"2024-10-24T21:06:16.589Z","updated_at":"2025-09-07T14:38:38.524Z","avatar_url":"https://github.com/birddevelper.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MockiMouse\n\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/birddevelper/MockiMouse/master/mockimouse_icon.png\"  height=\"200\" \u003e\n\u003c/p\u003e\n\n\nDevelop your UI without any concern about the backend. MockiMouse is a mock server that helps you make dynamic fake API to test or demo your frontend project or to write unit tests for functions calling external APIs.\n\n## How to use\nMockiMouse is easy to use, and easy to run. In a few lines of YAML config file you can start serving requests from frontend. Let's start :\n\nThe below config is the simplest possible mock server to run. Two endpoints with single senarios without any conditional response. \n\nTo learn more details read this article : [Mockimouse Mock server](https://mshaeri.com/blog/mockimouse-an-easy-to-use-mock-server-to-build-fake-dynamic-api/)\n\n```yaml\nMockServer :\n port : 800\n endpoints :\n  - name : My first endpoint\n    path : /helloWorld\n    method : GET\n    scenarios :\n     - description : no condition, always show same response\n       response: \n        - Welcome to Hello wrold\n  - name : My second endpoint\n    path : /goodbye\n    method : GET\n    scenarios :\n     - description : no condition, always show same goodbye\n       response: \n        - goodbye\n```\n\nAdd unlimited scenarios for each endpoint and set multiple conditions for a scenario to trigger. For example for a login endpoint you can set two scenarios first for valid username and password and another scenario for invalid username and password :\n\n```yaml\n\nMockServer :\n contextPath : /api\n port : 800\n endpoints :\n  - name : Login API\n    path : /login\n    accepts : application/json\n    method : POST\n    delay : 1000\n    scenarios :\n     - description : When credintial is valid\n       condition :\n         param :\n            - name : username\n              type : body\n              operand : equal\n              value : admin\n            - name : password\n              type : body\n              operand : equal\n              value : 1234\n       response: \n         - file://helloWorld.json\n       \n     - description : When credintial is invalid\n       condition :\n          param :\n            - name : username\n              type : body\n              operand : equal\n              value : admin\n            - name : password\n              type : body\n              operand : notEqual\n              value : 1234\n       response : \n         - file://invalidCredintial.json\n       status : 200\n\n```\nPut your message file in **responses** folder beside the MockiMouse binary file and call them in response parameters in config file. The file can be json, xml or html.\n## How to run\n\nRun the server binary in any operating system and enjoy it :\n\nWin OS:\n\n```bash\nc:\\myFakeServer\\mockimouse.exe \n```\n\n\n\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://mshaeri.com/blog/wp-content/uploads/2023/01/mockimouse_mock_server_fake_api.jpg\"  \u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbirddevelper%2Fmockimouse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbirddevelper%2Fmockimouse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbirddevelper%2Fmockimouse/lists"}