Skip to content

Sample Angular 2 project created with angular CLI with firebase integrated using angular fire2

License

Notifications You must be signed in to change notification settings

branecko/ng2-firebase-simple-website

Repository files navigation

ng2-firebase-simple-website

Sample Angular 2 project created with angular CLI with firebase integrated using angular fire2.

In this project I used Foundation framework instead of Bootstrap.

Project generated with angular-cli

  • run npm install
  • start local server with npm start

Sample db imports in folder _resources

Don't forget to change db rules

{
  "rules": {
    ".read": "auth != null",
    ".write": "auth != null"
  }
}

into

{
  "rules": {
    ".read": "true",
    ".write": "true"
  }
}

Add your firebase keys into ./src/app/app.module.ts

// Must export the config
export const firebaseConfig = {
  apiKey: '<your-key>',
  authDomain: '<your-project-authdomain>',
  databaseURL: '<your-database-URL>',
  storageBucket: '<your-storage-bucket>'
};

##List of interesting commits

About

Sample Angular 2 project created with angular CLI with firebase integrated using angular fire2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published