Skip to content

farahbrunache/angular-firestarter

 
 

Repository files navigation

Slack

License: MIT

FireStarter - Angular + Firebase Progressive Web App

FireStarter is a basic Angular PWA powered by Firebase. It can serve as a foundation to learn this stack and roll out more complex features.

Features

  • Angular 5.0
  • 100 PWA Lighthouse Score
  • Firebase Auth with Custom Data in Firestore
  • CRUD Demos (Firestore & Realtime DB)
  • File Uploads to Firebase Storage Demo

Usage

Create an account at https://firebase.google.com/

  • git clone https://github.com/codediodeio/angular-firestarter.git firestarter
  • cd firestarter
  • npm install

Create the environment files below in src/environments/.

environment.ts

export const environment = {
    production: false,
    firebaseConfig: {
        apiKey: 'APIKEY',
        authDomain: 'DEV-APP.firebaseapp.com',
        databaseURL: 'https://DEV-APP.firebaseio.com',
        projectId: 'DEV-APP',
        storageBucket: 'DEV-APP.appspot.com',
        messagingSenderId: '123456789'
    }
};

environment.prod.ts

export const environment = {
    production: true,
    firebaseConfig: {
        // same as above, or use a different firebase project to isolate environments
    }
};

And finally ng serve

Apps Using FireStarter in Production

About

Angular + Firebase Progressive Web App Starter

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 64.8%
  • HTML 24.3%
  • CSS 8.2%
  • JavaScript 2.7%