{"id":21169722,"url":"https://github.com/sadabnepal/mountebank-service-virtualization","last_synced_at":"2025-03-14T17:23:43.231Z","repository":{"id":227370183,"uuid":"769918625","full_name":"sadabnepal/mountebank-service-virtualization","owner":"sadabnepal","description":"service virtualisation using mountebank","archived":false,"fork":false,"pushed_at":"2024-03-16T11:01:42.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T10:50:53.467Z","etag":null,"topics":["api-mock","api-testing","mock","mountebank","service-virtualization","stub"],"latest_commit_sha":null,"homepage":"","language":"EJS","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/sadabnepal.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":"2024-03-10T12:39:26.000Z","updated_at":"2024-04-20T07:07:19.000Z","dependencies_parsed_at":"2024-03-16T11:51:17.871Z","dependency_job_id":"0091304e-f83c-44c3-ae70-f28b3ee4daa9","html_url":"https://github.com/sadabnepal/mountebank-service-virtualization","commit_stats":null,"previous_names":["sadabnepal/mountebank-service-virtualization"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadabnepal%2Fmountebank-service-virtualization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadabnepal%2Fmountebank-service-virtualization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadabnepal%2Fmountebank-service-virtualization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadabnepal%2Fmountebank-service-virtualization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sadabnepal","download_url":"https://codeload.github.com/sadabnepal/mountebank-service-virtualization/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243616306,"owners_count":20319869,"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-mock","api-testing","mock","mountebank","service-virtualization","stub"],"created_at":"2024-11-20T15:53:24.040Z","updated_at":"2025-03-14T17:23:43.204Z","avatar_url":"https://github.com/sadabnepal.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# service virtualization using mountebank\n\n### getting started\n```\ngit clone https://github.com/sadabnepal/mountebank-service-virtualization.git\ncd mountebank-service-virtualization\n```\n\n### pre-requisite\n[![NodeJs](https://img.shields.io/badge/-NodeJS-%23339933?logo=npm)](https://nodejs.org/en/download/)\n\n### install package\n```\nnpm install\n```\n\n### start stub\n```\nnpm start\n```\n\n### stub details\nThe project is using [mountebank](http://www.mbtest.org) as a service virtualization tool, which provides following endpoints.\n```\nBase URL: http://localhost:4545/api \n```\n\n| http call   | endpoint               | status code | payload   |\n|-------------|------------------------|-------------|-----------|\n| GET         | `/users/{id}`          | 200         | N/A       |\n| GET         | `/users?page={number}` | 200         | N/A       |\n| POST        | `/users`               | 201         | `{\"name\": \"sadab\", \"job\": \"tester\" }`|\n| PUT         | `/users/{id}`          | 200         | `{\"name\": \"saqib\", \"job\": \"admin\" }` |\n| POST        | `/register`            | 200         | `{\"email\": \"test@test.com\", \"password\": \"test@123\" }` |\n| POST        | `/login`               | 200         | `{\"email\": \"test@test.com\", \"password\": \"test@123\" }` |\n\nNote: default response will be empty object `{}` with response code: `404`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadabnepal%2Fmountebank-service-virtualization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsadabnepal%2Fmountebank-service-virtualization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadabnepal%2Fmountebank-service-virtualization/lists"}