Node.js Quickstart Guide

First, you'll need to sign up to get your own Firebase.

While you can write entire Firebase applications without any backend code, many developers will still want to run their own servers. For these developers, we provide a full-featured Node.js module. This library has the same Javascript API and features as our web client.

To get started, install Firebase from the npm:

npm install firebase

Now, just require the library in your application and start using your data:

var Firebase = require('firebase');
var myRootRef = new Firebase('https://myprojectname.firebaseIO-demo.com/');
myRootRef.set("hello world!");

Next Steps

If you haven't already done so, you should try our tutorial. Next, we recommend checking out our example apps or reading on in the docs:


Have a suggestion to improve the documentation on this page? Tell us!