ragulka
ragulka

Reputation: 4342

How to create a javascript mongodb-tutorial-like browser shell

MongoDB website uses a "Browser Shell" to let anybody try how it works really easily. I would like to implement something like that for a site to let devs do some HTTP request for a REST API - how should I approach this? Is there a plugin or tool that I could use?

The mongoDB example can be found here: http://www.mongodb.org/# - click "Try It Out".

Upvotes: 2

Views: 1671

Answers (4)

amcgregor
amcgregor

Reputation: 1244

The latest version of the interactive web shell on try.mongodb.org was discussed on the MongoDB Blog with code available on Github.

Note that interactive shells in a web environment have some peculiar limitations (some of which are covered on the blog post) esp. surrounding activity which can block the browser thread.

Upvotes: 0

user2003399
user2003399

Reputation: 1

You can visit www.domongodb.com. I am sure you want like this an online mongodb shell to try actual mongodb commands. http://www.domongodb.com

Upvotes: 0

rajesh
rajesh

Reputation: 3407

Spring Shell might be helpful http://www.springsource.org/spring-shell

Upvotes: 0

Adam Comerford
Adam Comerford

Reputation: 21692

The "mongulator" code, written by Kyle Banker, is what you want. He talks about it here:

http://kylebanker.com/blog/2010/1/try-mongodb-browser/

You can see the code on github here:

https://github.com/banker/mongulator

There are also other similar non-MongoDB options available out there as examples - good hunting!

Upvotes: 3

Related Questions