Run meteor.js locally without server

We’re running https://vida.io, an online data visualization tool. Several users on our site indicated that they want to be able to connect to their local database to pull data. I’m on a quest to make our application run locally without complicated server setup. Here’s how I did it. I’d love to hear feedback other meteor.js developers.

Local builds come with default mongodb and node.js executables. We bypass typical authentication with a generated user. On server start, we check if local user exists and insert it to database:

Create local user if not exists

On client side, we hide login window, fill in credential and automatically log user in:

Hide login window
Automatically login with local credential

We create regular build with “meteor build” command. Write a couple of shell scripts to start mongodb and node.js server.

That’s how we did it. If you’re interested in trying our build and script, checkout the following link. Our software is great for data visualizations!

http://userguide.vida.io/#download

Building bitflate cryptocurrency

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store