{"id":16323738,"url":"https://github.com/shavo007/mockoon-demo","last_synced_at":"2025-05-14T15:12:12.903Z","repository":{"id":72297313,"uuid":"400361119","full_name":"shavo007/mockoon-demo","owner":"shavo007","description":"showcase mocking API using mockoon","archived":false,"fork":false,"pushed_at":"2023-05-22T06:46:57.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-17T04:26:34.264Z","etag":null,"topics":["api-rest","docker","mock-server","mockoon","oas3","swagger"],"latest_commit_sha":null,"homepage":"https://blog.shanelee.name/2021/08/29/mocking-a-rest-api-the-api-first-way-with-mockoon/","language":"Dockerfile","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/shavo007.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":"2021-08-27T02:11:26.000Z","updated_at":"2022-04-12T06:15:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"f176f3b0-5101-440e-9c33-070f9e1ba563","html_url":"https://github.com/shavo007/mockoon-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shavo007%2Fmockoon-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shavo007%2Fmockoon-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shavo007%2Fmockoon-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shavo007%2Fmockoon-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shavo007","download_url":"https://codeload.github.com/shavo007/mockoon-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254170067,"owners_count":22026219,"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-rest","docker","mock-server","mockoon","oas3","swagger"],"created_at":"2024-10-10T22:55:32.635Z","updated_at":"2025-05-14T15:12:12.882Z","avatar_url":"https://github.com/shavo007.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mockoon-demo\nshowcase mocking API using mockoon\n\nBlog post: https://blog.shanelee.name/2021/08/29/mocking-a-rest-api-the-api-first-way-with-mockoon/\n## dockerise version 1.4.0 (detached mode)\n\n```bash\nnpm update -g @mockoon/cli@1.4.0\nmockoon-cli dockerize --data ./Greetings_Mockoon.json --port 3000 --index 0 --output ./Dockerfile\n\n#Then manually amend the docker file to add in detached mode and specify the data arg. see [Dockerfile](./Dockerfile)\n\n#To run with transaction log\ndocker run -p 3000:3000 mockoon-greeting-api\n\n```\n\n## Kubernetes\n\n```bash\n\ndocker build -t shanelee007/mockoon-greeting-api:1.0.0 .\n#dry run (once only)\nkubectl create deployment mockoon --image=shanelee007/mockoon-greeting-api:1.0.0 --dry-run=client --output=yaml \u003e deployment.yaml\nkubectl expose deployment mockoon --port=3000 --target-port=3000 --type=NodePort --dry-run=client --output=yaml \u003e svc.yaml\nkubectl apply -f deployment.yaml\nkubectl apply -f svc.yaml\nkubectl describe service mockoon\n#access locally on node port\n#inspect logs of the pod\nkubectl logs -f \u003cpod_name\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshavo007%2Fmockoon-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshavo007%2Fmockoon-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshavo007%2Fmockoon-demo/lists"}