{"id":17787675,"url":"https://github.com/atwayne/sneezy","last_synced_at":"2025-04-02T00:20:59.055Z","repository":{"id":57364698,"uuid":"346903119","full_name":"atwayne/sneezy","owner":"atwayne","description":"Sneezy is a mock API server for testing purposes.","archived":false,"fork":false,"pushed_at":"2021-03-21T10:47:15.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T13:58:01.326Z","etag":null,"topics":["api-test","api-testing","mock","mock-server"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atwayne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-12T02:03:46.000Z","updated_at":"2021-03-21T10:47:17.000Z","dependencies_parsed_at":"2022-09-13T21:01:12.738Z","dependency_job_id":null,"html_url":"https://github.com/atwayne/sneezy","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atwayne%2Fsneezy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atwayne%2Fsneezy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atwayne%2Fsneezy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atwayne%2Fsneezy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atwayne","download_url":"https://codeload.github.com/atwayne/sneezy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246731072,"owners_count":20824501,"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","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-test","api-testing","mock","mock-server"],"created_at":"2024-10-27T10:12:28.325Z","updated_at":"2025-04-02T00:20:59.032Z","avatar_url":"https://github.com/atwayne.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sneezy\n[![sneezy-mock-api][npm-image]][npm-url]\n\n[npm-url]: https://www.npmjs.com/package/sneezy-mock-api\n[npm-image]: http://img.shields.io/npm/v/sneezy-mock-api.svg?style=flat-square\n\n\nSneezy is a mock API server for testing purposees. Run `sneezy` and get whatever response you want.\n\n## Install\n\n```\nnpm install -g sneezy-mock-api\n```\n\n## Usage\n\n-  Start the mock server on default port 9000\n\n    ```\n    sneezy\n    ```\n - Or if the port is being used by another process, use the command below to run it on a different port\n\n    ```\n    sneezy --port 9001\n    ```\n - \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eC\u003c/kbd\u003e to exit\n## API\n\n-   `http://localhost:9000/200`  \nReturns HTTP Status Code 200\n-   `http://localhost:9000/500`  \nReturns HTTP Status Code 500\n-   `http://localhost:9000/sneezy`  \nReturns HTTP 200 for most of the time. One in 10 times it returns 500\n-   `http://localhost:9000/echo`  \nReturns HTTP 200 with request headers and request body as response body\n-   Anything else gets an HTTP 404 response\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatwayne%2Fsneezy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatwayne%2Fsneezy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatwayne%2Fsneezy/lists"}