Skip to content

auliausu/AngularJSFirebaseStarterTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AngularJS + Firebase Starter Template

Logo

AngularJS + Firebase Starter template to kick start your new project. With the newest, Firebase Database and Firebase Auth, and Angular JS Rather than use new Firebase(url) like with the old SDK, you now configure firebase with firebase.initializeApp(config), and use the new firebase.database().ref() method.

 // Initialize Firebase
  var config = {
    apiKey: "<YOUR-API-KEY>",
    authDomain: "<YOUR-AUTH-DOMAIN>",
    databaseURL: "<YOUR-DATABASE-URL>",
    projectId: "<YOUR-PROJECT-ID>",
    storageBucket: "<YOUR-STORAGE-BUCKET>",
    messagingSenderId: "<YOUR-MESSANGING-SENDER-ID>"
  };
  firebase.initializeApp(config);

Run a Local Web Server for Development

Before running this project you need npm already installed on your computer if you already have npm before then run this command

$ npm install -g firebase-tools

now it's time to install firebase into our npm system

$ firebase init    # Generate a firebase.json (REQUIRED)

sync firebase to your firebase console account then copy the public folder to the public folder that has been generated firebase-cli earlier

now lets run our project

$ firebase serve   # Start development server

Made with ♥

Follow me on instagram :)

Contribution Process

  1. Submit an issue describing your proposed change to the repo in question.
  2. The repo owner will respond to your issue promptly.
  3. Fork the desired repo, develop and test your code changes.
  4. Ensure that your code adheres to the existing style of the library to which you are contributing.
  5. Ensure that your code has an appropriate set of unit tests which all pass.
  6. Submit a pull request and cc @iqbal09

About

AngularJS + Firebase Starter Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published