GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - FirebaseExtended/emberfire: The officially supported adapter for using Firebase with Ember

This repository was archived by the owner on May 19, 2025. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

807 Commits
807 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.opensource
.opensource
 
 
.vscode
.vscode
 
 
addon-test-support
addon-test-support
 
 
addon
addon
 
 
app
app
 
 
blueprints
blueprints
 
 
config
config
 
 
docs
docs
 
 
mixins
mixins
 
 
tests
tests
 
 
tools
tools
 
 
types
types
 
 
vendor
vendor
 
 
.editorconfig
.editorconfig
 
 
.ember-cli
.ember-cli
 
 
.eslintrc.js
.eslintrc.js
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
.nvmrc
.nvmrc
 
 
.travis.yml
.travis.yml
 
 
.watchmanconfig
.watchmanconfig
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
changelog.txt
changelog.txt
 
 
cloudbuild.yaml
cloudbuild.yaml
 
 
ember-cli-build.js
ember-cli-build.js
 
 
express.js
express.js
 
 
index.js
index.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
testem.js
testem.js
 
 
tsconfig.json
tsconfig.json
 
 
typedoc.js
typedoc.js
 
 

Repository files navigation

EmberFire Build Status Version Monthly Downloads Ember Observer Score

Status

Status: Experimental

This repository is maintained by Googlers but is not a supported Firebase product. Issues here are answered by maintainers and other community members on GitHub on a best-effort basis.


WARNING: Master branch is the work in progress for version 3 of Emberfire. You can find version 2 here, if you're looking for documentation or to contribute to stable. Learn more about the rewrite effort here.


Why EmberFire?

  • Developed by experts - Developed and maintained by the Firebase team
  • Ember Data Adapters - Cloud Firestore and Realtime Database adapters for Ember Data allow you to persist your models in Firebase
  • Ember Services - firebase and firebase-app services allow direct access to the underlying Firebase SDK instance
  • Realtime Bindings - Listen for realtime updates to your Firebase backed Ember Data models using the provided realtime-listener service or the RealtimeRouteMixin
  • Authentication Providers - Integrate Firebase Authentication with your Ember application easily with providers for Ember Simple Auth and Torii
  • Analytics Collection - The AnalyticsRouteMixin adds Google Analytics screen tracking to your Ember Router.
  • Offline Enabled - Persist Ember Data models offline automatically with FirestoreAdapter
  • Fastboot Compatible - Perform initial rendering and fetching of your models server-side to increase application performance

Installation

$ ember install emberfire@next

Example use

// app/adapters/application.js
import FirestoreAdapter from 'emberfire/adapters/firestore';

export default FirestoreAdapter.extend({
    enablePersistence: true,
    persistenceSettings: { synchronizeTabs: true }
});
// app/models/article.js
import DS from 'ember-data';
const { attr, belongsTo, hasMany } = DS;

export default DS.Model.extend({
    title: attr('string'),
    body: attr('string'),
    publishedAt: attr('date'),
    author: belongsTo('user'),
    comments: hasMany('comments', { subcollection: true }),
});
// app/routes/articles.js
import Route from '@ember/routing/route';
import RealtimeRouteMixin from 'emberfire/mixins/realtime-route';
import PerformanceRouteMixin from 'emberfire/mixins/performance-route';

export default Route.extend(RealtimeRouteMixin, PerformanceRouteMixin, {
    model() {
        return this.store.query('article', { orderBy: 'publishedAt' });
    }
});
// app/routes/application.js
import AnalyticsRouteMixin from 'emberfire/mixins/analytics-route';
import Route from '@ember/routing/route';

export default Route.extend(AnalyticsRouteMixin);

Documentation

  • Quickstart
  • Guide
  • API Reference

Compatibility

Please consult this table when selecting your version of EmberFire and Firebase SDK:

Ember Data EmberFire Firebase SDK
3.0+ 3.x 5.x
2.3+ 2.x 3.x
2.0 - 2.2 1.6.x 2.x
1.13 1.5.x 2.x

Migration Guides

  • Migrating from EmberFire 2.x to 3.x
  • Migrating from EmberFire 1.x to 2.x

Contributing

If you'd like to contribute to EmberFire, please first read through our contribution guidelines. Local setup instructions are available here.

About

The officially supported adapter for using Firebase with Ember

firebaseopensource.com/projects/firebaseextended/emberfire/

Topics

ember-dataemberjsfirebasefirebase-sdkfirestoregoogle-analyticsjavascriptmessagingperformance-monitoringrealtime-database

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

683 stars

Watchers

3 watching

Forks

255 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.