mongo-mapreduce-webbrowser
mongo-mapreduce-webbrowser copied to clipboard
Write, test and debug with breakpoints your Mongo MapReduce Javascript functions with Web Browser
Overview
Mongo MapReduce WebBrowser (MMW) is a Web application which gives you the capability to
- write your MapReduce.
- test (quickly) your MapReduce by seeing the result.
- debug with breakpoints your MapReduce with your Web Browser.
You can play with the live demo or follow the Installation Guide to use the webapp on localhost.
Features
Writing MapReduce
Mongo MapReduce WebBrowser (MMW) provides advanced editor (syntax coloring, syntax errors, completions) to write your MapReduce:
- fill the BSON document (data array) with strict mode syntax by using the BSON editor.
- fill the Map function by using the Map Editor.
- fill the Reduce function by using the Reduce Editor.
And see the result of your MapReduce execution on fly time :
Debugging MapReduce
As MapReduce is executed with WebBrowser, it's possible to use the WebBrowser debugger to debug MapReduce with breakpoints. Here a screen with Chrome Dev Tools :
Installation
To install on your localhost the webapp, please read Installation Guide
Supported Web Browsers
Tested with Chrome and FF (some problems with IE).
Build
See cloudbees job: https://opensagres.ci.cloudbees.com/job/mongo-mapreduce-webbrowser/