digit81 / angular-firestarter

Angular + Firebase Progressive Web App Starter

Home Page:https://firestarter-96e46.firebaseapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slack

License: MIT

FireStarter

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

Features

  • Angular 6.x
  • 100 PWA Lighthouse Score with NGSW
  • Firebase Auth, Storage, and Cloud Firestore Demos
  • Angular Universal Prerendered SSR (hosted on Firebase)

Usage

  1. Install: npm install -g firebase-tools npm install -g @angular/cli npm install -g npm-check-updates

  2. Run

  • git clone https://github.com/codediodeio/angular-firestarter.git firestarter
  • cd firestarter
  • npm install
  1. Create a project at https://firebase.google.com/ and grab your web config:

  1. Add the config to your Angular environment

src/environments/environment.ts

export const environment = {
    production: false,
    firebase: {
        apiKey: 'APIKEY',
        authDomain: 'DEV-APP.firebaseapp.com',
        databaseURL: 'https://DEV-APP.firebaseio.com',
        projectId: 'DEV-APP',
        storageBucket: 'DEV-APP.appspot.com',
        messagingSenderId: '123456789'
    }
};
  1. Open src/app/app.module.ts and replace the firebasePlaceholderConfig with your environment, i.e environment.firebase

  2. And finally ng serve

About

Angular + Firebase Progressive Web App Starter

https://firestarter-96e46.firebaseapp.com/


Languages

Language:TypeScript 69.2%Language:HTML 19.7%Language:CSS 7.3%Language:JavaScript 3.8%