6 ms·
Show HN: Mockoon – mock REST APIs in seconds
- 255kb 9y agoHi! I created this new desktop app (made with Electron) to easily mock REST APIs locally. It's available for Windows / Linux / OSX and still in beta but with lots of features and a lot more to come. I developed it for my colleagues and me to help us easier the process of working on upcoming APIs still under development. Feel free to give it a try, any feedback is welcome :) Thanks! To answer a common question: what differentiate Mockoon from Postman mocking option? It's easier to set up, 100% local (no remote deployment), and requires no account.
- TheBiv 9y agoBranding suggestion: I would change the name/logo. Not to be PC, but because the name/logo gave me an immediate cringe and I would have a hard time telling my friends about this service by name. I know it's unintentional by you. Please take a look at the 2nd definition: http://www.dictionary.com/browse/coon http://www.dictionary.com/browse/coon
- watty 9y agoI disagree. Only after I clicked on your link did it occur to me what you were trying to say. I think it's a stretch. If the word is that taboo to you then what do you call those striped tail critters who get in the garbage? Rac--n?
- PantaloonFlames 9y agoTrash Panda?
- tenaciousDaniel 9y agoI couldn't even imagine how you feel about vinegar.
- PantaloonFlames 9y agogar: any predaceous freshwater fish of the genus Lepisosteus, of North America, covered with hard, diamond-shaped scales and having long jaws with needlelike teeth. http://www.dictionary.com/browse/gar http://www.dictionary.com/browse/gar ?
- deleted 9y ago[deleted]
- jessemillar 9y agoI respectfully disagree. A secondary definition that is offensive to some and entirely unknown by others should not dictate a name change.
- 255kb 9y agoOmg! English is not my main language and I did not know about this second meaning :( This reminds me that most of the time when I try to find a name for something I go to urban dictionary, just in case :D I forgot to check this time... Anyway, I do not plan to change the name for now. If it becomes obvious that it is offensive for some I will definitely consider this.
- deleted 9y ago[deleted]
- vorotato 9y agoRaccoon and "Coon" are very different things. Being said Mockoon doesn't actually make that much sense, raccoons aren't known for mocking. Mockingbirds are, perhaps "Mockingbird"? MockBird? I'm sure you'll figure it out.
- 255kb 9y agoAll mockingbirds are already used :) I personally like mockoon, sure Raccoon are not known for mocking, but it's the raccoon who mock APIs, why not? Microsoft is far from creating "micro" softs :)
- vortico 9y agoYou should tell Chris Sawyer about Rollercoaster Tycoon!
- orliesaurus 9y agogood one!! haha never thought of that
- vorotato 9y agoRaccoon and "coon" are uh extremely different things. This is obviously evoking the animal and not the racial epithet. The problem is not that raccoons exist, the problem is that humans were likened to wild animals. No humans are depicted here as animals. There is nothing wrong with raccoons.
- quickthrower2 9y agoThese guys didn't think so. https://en.m.wikipedia.org/wiki/Coon_cheese https://en.m.wikipedia.org/wiki/Coon_cheese
- tenaciousDaniel 9y agoVery nice work, love the dark UI.
- 255kb 9y agoThanks! :)
- RubenSandwich 9y agoFeature request: Now that you have mocked the RESTful API, it would be great to generate documentation for it.
- 255kb 9y agoThank you for the feedback. Nice idea, I will keep this in mind :)
- zakshay 9y agoHi! I have been looking for something, its awesome! Apart the main use-case, I'm also trying to figure out how to fit it for this use-case – For a specific URL I would like to capture all requests made from the frontend app (JS) in production to the backend, and then replay it for a local version of the frontend.
- endroits1 9y agoThis looks really beautiful. What use cases would this be helpful for?
- vortico 9y agoThis project is really cool for me. Here's my personal use case that it would solve. I always begin every Node/Express server project with a unit and integration test file using the request-sync library to make a sequence of synchronous requests and assert everything about each request in each step before continuing. But I can never run those scripts to completion until my server is written, which is much more difficult to test than my test script. (Yes, I'm looking for a meta-test of my test script.) Questions like "am I checking the data in the correct way" and "are all my status code checks the correct number" would be answered if I could make a fake server first, then a unit test, then the real server. It's easier to make example data than to write a script to check everything in generality if I don't know exactly how the server should behave.
- 255kb 9y agoThank you! I have a use case at work where I work exclusively on a frontend application. And sometimes I need to mock new API routes not developed yet by the backend team. I could hardcode some things directly in the application but mocking with an external tool is more convenient.
- ko5ta 9y agoTwo features that come to mind: Exporting to flat-file would allow mock environments to be versioned using a VCS. Importing OpenAPI spec (swagger) files could simplify initial setup.
- ReedJessen 9y agoI second this. Also, exporting swagger as well as importing swagger may allow automating new version deployments on AWS API Gateway and the like.
- 255kb 9y agoImport/Export feature is definitely on the list. I need to investigate how to do it best. So any ideas like yours are welcome! :)
- ReedJessen 9y agoThis is really cool. It's like the counterpart to something like Postman or Insomnia.
- notimewaste 9y agonice ,is there any documentation for this