All Projects → endeepak → stub_on_web

endeepak / stub_on_web

Licence: MIT license
Create stub urls to test external API integration

Programming Languages

elixir
2628 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to stub on web

phoenix-hibernate-dialect
An Apache Phoenix Hibernate dialect
Stars: ✭ 20 (-62.96%)
Mutual labels:  phoenix
query builder
Compose Ecto queries without effort
Stars: ✭ 56 (+3.7%)
Mutual labels:  phoenix
babel-plugin-rewire-exports
Babel plugin for stubbing [ES6, ES2015] module exports
Stars: ✭ 62 (+14.81%)
Mutual labels:  stub
indifferent
Elixir Indifferent access on maps/lists/tuples with custom key transforms.
Stars: ✭ 20 (-62.96%)
Mutual labels:  phoenix
shlinked
An open-source satirical social network. shlinkedin.com
Stars: ✭ 287 (+431.48%)
Mutual labels:  phoenix
google scraper live view
Application for extracting large amounts of data from the Google search results page
Stars: ✭ 17 (-68.52%)
Mutual labels:  phoenix
ticker-react
React Client for displaying Stock Quotes (IEX Trading)
Stars: ✭ 34 (-37.04%)
Mutual labels:  phoenix
ts-mock-imports
Intuitive mocking library for Typescript class imports
Stars: ✭ 103 (+90.74%)
Mutual labels:  stub
Tai-Shang-Combiner
太上老君,基于 Elixir 的 NFT 炼丹炉
Stars: ✭ 16 (-70.37%)
Mutual labels:  phoenix
phoenix-queryserver
Apache Phoenix Query Server
Stars: ✭ 33 (-38.89%)
Mutual labels:  phoenix
phoenix-webpack-docker-elastic
Simple templates for Phoenix/Webpack/Docker/Elastic Beanstalk setup
Stars: ✭ 33 (-38.89%)
Mutual labels:  phoenix
zero-to-graphql-using-elixir
The purpose of this example is to provide details as to how one would go about using GraphQL with the Elixir Language.
Stars: ✭ 20 (-62.96%)
Mutual labels:  phoenix
phoenix passwordless login
Phoenix Passwordless Login
Stars: ✭ 28 (-48.15%)
Mutual labels:  phoenix
Sphinx
Authorization library for Phoenix web framework
Stars: ✭ 19 (-64.81%)
Mutual labels:  phoenix
odoo-stubs
Python Stubs for Odoo
Stars: ✭ 40 (-25.93%)
Mutual labels:  stub
ambry
Self-hosted audiobook streaming server
Stars: ✭ 38 (-29.63%)
Mutual labels:  phoenix
crimson commerce
An OpenSource Ecommerce platform on the Elixir/Phoenix stack, which aims to leverage the power of functional programming for ecommerce.
Stars: ✭ 74 (+37.04%)
Mutual labels:  phoenix
alternate
Plug and Phoenix helpers to localize your web app via the URL
Stars: ✭ 26 (-51.85%)
Mutual labels:  phoenix
sms blitz
Send SMS messages through multiple different providers
Stars: ✭ 29 (-46.3%)
Mutual labels:  phoenix
live dj
💿 Join or create video playlists to share a real-time experience with others! 🎧
Stars: ✭ 19 (-64.81%)
Mutual labels:  phoenix

StubOnWeb Build Status

Create stub urls to test external API integration

Try it on http://stubonweb.herokuapp.com

Running

  • Install elixir, mongodb

  • To start your app:

      mix deps.get
      mix ecto.create && mix ecto.migrate
      mix phoenix.server
    
  • Now you can visit localhost:4000 from your browser.

  • Ready to run in production? Please check phoenix deployment guides.

Contributing

You can raise issues and feature requests on github

If you can code, please fork the repo and raise a pull request

Alternatives

Why yet another stub?

StubOnWeb 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

  • Doesn't allow to choose your own path for url so it is easy to remember
  • 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!
  • Change requests for new features take longer time. Their tech stack was new and less fun for me to learn & contribute
  • Doesn't allow to inspect last few requests for the url
  • Over engineered UI / work-flow for the job

And I was learning elixir. This was simple enough and fun to try out!

Thanks to

  • Awesome people behind elixir, phoenix and other libraries in the ecosystem
  • Service providers heroku and mongolabs for their free tier service

License

MIT License

ToDo

  • Ability to add custom templates via config
  • 404 page to redirect to add new url
  • Responsive mobile friendly UI?

Sins

  • Low test coverage
  • Duplicated markup for adding response headers

Laziness 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].