Skip to content

A sample of using node to pull data from mongo, transform it into a very simple table format, so a javascript component in the browser can pivot the data as the user desires This is mostly a demonstration of how to use hyperdev.com to pull data from an external data source (in this case mongodb running on mlab.com) and present it in a simple UI.…

Notifications You must be signed in to change notification settings

daniel-bray-sonalake/hyperdev-mongo-pivot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A sample hyperdev container

This is just a little introduction into hyperdev - a free, online container for creating and developing on a Node.js server in the browser.

Check it out, hyperdev is a very useful tool for rapid prototyping, since everything just works (tm) and it's super easy to get a small team to work together on a project.

This particular project was something I set up to play about with, and to also confirm that this was, in fact, something that could be used for something useful

How useful?

I wanted to solve a realistic problem, so I hooked this up to an online mongo database, and rendered it using some simple jquery in a pivot table.

Why pivots? We all go a little mad sometimes, and I do love pivots

  • You can hook this up to any mongo database you want, but I've used mlab.com - which is a simple enough online mongo service that will give you a free, small, one-database instance for prototyping.
  • I've used Nicolas Kruchten's javascript pivot table to render the data

Where is this running?

How to configure this?

If you're running this in node, you'll just need a .env file with these settings in here:

MONG_USER=
MONG_PASS=
MONG_HOST=
MONG_PORT=
MONG_DB=

About

A sample of using node to pull data from mongo, transform it into a very simple table format, so a javascript component in the browser can pivot the data as the user desires This is mostly a demonstration of how to use hyperdev.com to pull data from an external data source (in this case mongodb running on mlab.com) and present it in a simple UI.…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published