{"id":26483876,"url":"https://github.com/endeepak/stub_on_web","last_synced_at":"2025-03-20T04:58:33.822Z","repository":{"id":138471423,"uuid":"44750955","full_name":"endeepak/stub_on_web","owner":"endeepak","description":"Create stub urls to test external API integration","archived":false,"fork":false,"pushed_at":"2016-01-05T18:07:23.000Z","size":0,"stargazers_count":54,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-11T08:27:53.345Z","etag":null,"topics":["api","elixir","phoenix","stub"],"latest_commit_sha":null,"homepage":"http://stubonweb.herokuapp.com/","language":"Elixir","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/endeepak.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":"2015-10-22T14:31:45.000Z","updated_at":"2023-03-17T03:07:01.144Z","dependencies_parsed_at":"2023-04-04T22:47:38.897Z","dependency_job_id":null,"html_url":"https://github.com/endeepak/stub_on_web","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endeepak%2Fstub_on_web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endeepak%2Fstub_on_web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endeepak%2Fstub_on_web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endeepak%2Fstub_on_web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/endeepak","download_url":"https://codeload.github.com/endeepak/stub_on_web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244554068,"owners_count":20471173,"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","elixir","phoenix","stub"],"created_at":"2025-03-20T04:58:33.245Z","updated_at":"2025-03-20T04:58:33.808Z","avatar_url":"https://github.com/endeepak.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StubOnWeb [![Build Status](https://travis-ci.org/endeepak/stub_on_web.svg?branch=master)](https://travis-ci.org/endeepak/stub_on_web)\n\nCreate stub urls to test external API integration\n\nTry it on http://stubonweb.herokuapp.com\n\n## Running\n\n* Install elixir, mongodb\n\n* To start your app:\n\n\t\tmix deps.get\n\t\tmix ecto.create \u0026\u0026 mix ecto.migrate\n\t\tmix phoenix.server\n\n* Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.\n\n* Ready to run in production? Please [check phoenix deployment guides](http://www.phoenixframework.org/docs/deployment).\n\n## Contributing\n\nYou can raise issues and feature requests on [github](https://github.com/endeepak/stub_on_web/issues)\n\nIf you can code, please fork the repo and raise a pull request\n\n## Alternatives\n\n* http://www.mocky.io/\n* https://www.mockable.io/\n\n## Why yet another stub?\n\nStubOnWeb is built to ease the manual testing of multiple scenarios of our service integration with other system's API. The existing web solutions suffer from one or more of the problems listed below\n\n* Doesn't allow to choose your own path for url so it is easy to remember\n* Doesn't allow to edit the response. Only way to test multiple scenarios is to create new url and update your app config and restart your services. Oh.. too much work!\n* Change requests for new features take longer time. Their tech stack was new and less fun for me to learn \u0026 contribute\n* Doesn't allow to inspect last few requests for the url\n* Over engineered UI / work-flow for the job\n\nAnd I was learning [elixir](http://elixir-lang.org/). This was simple enough and fun to try out!\n\n## Thanks to \n\n* Awesome people behind [elixir](elixir-lang.org), [phoenix](phoenixframework.org) and other libraries in the ecosystem\n* Service providers [heroku](https://www.heroku.com/home) and [mongolabs](https://mongolab.com/) for their free tier service\n\n\n## License\n\nMIT License\n\n## ToDo\n\n* Ability to add custom templates via config\n* 404 page to redirect to add new url\n* Responsive mobile friendly UI?\n\n## Sins\n\n* Low test coverage\n* Duplicated markup for adding response headers\n\nLaziness and curiosity to see it working has been the reason for above sins. Plan to clean up if more people want to make changes to this code.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendeepak%2Fstub_on_web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendeepak%2Fstub_on_web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendeepak%2Fstub_on_web/lists"}