Create an account
First sign up for a free account. A
new Firebase app will be created for you. This includes a unique database URL ending in
firebaseio.com. You'll use this URL to store and sync data.
Within the App Dashboard you can create, manage and delete Firebases apps. Clicking on a specific Firebase app lets you view and modify your app's data in realtime. In your app dashboard, you can also set Security and Firebase Rules, manage your app's authentication, deploys, and view analytics.
<head> section of your HTML file. We recommend including the library directly from our CDN:
Alternatively, if you prefer to install Firebase as a local application dependency, you can use Bower:
$ bower install firebase
Running a Web Server
To view your files on your local machine, you still need to start a web server. You can start one by running:
$ npm install -g serve $ serve
$ npm install firebase --save
To use the Firebase Node.js module in your application, just
require the Firebase client library.
var Firebase = require("firebase");
That's it! Now we're ready to start reading and writing data with a Firebase database, which we'll cover in the next section.