Skip to content

Angular 2 Web app with Lazy loading, preloading routes , AOT and angular material 2 latest, with offline caching and push notification using service worker and firebase as backend with angularfire2

Notifications You must be signed in to change notification settings

prithviraju1369/Angular-2-Progressiver-web-app

Repository files navigation

Fergg

This project was generated with Angular CLI version 1.0.0-rc.2.

Development server

install angular cli

1.npm install -g angular/cli@latest

install project dependencies

2.npm install

build local project

ng build --prod --aot

Run Locally

node server.js

run tests

ng test

Email Functionality

Go to : https://www.google.com/settings/security/lesssecureapps set the Access for less secure apps setting to Enable

Update usernam and password in server.js

firebase config

generate firebase config from https://console.firebase.google.com/

// firebase frontend configuration

// See https://console.firebase.google.com/project/fergg-c183c/database/data to live view the data

export const firebaseConfig = { apiKey: "xxxx","xxxx", authDomain: "xxxx", databaseURL: "https://shoppinglist-12407.firebaseio.com", storageBucket: "shoppinglist-12407.appspot.com", messagingSenderId: "xxxx", };

create firebase-secret.js in project directory and paste the firebase secret.

About

Angular 2 Web app with Lazy loading, preloading routes , AOT and angular material 2 latest, with offline caching and push notification using service worker and firebase as backend with angularfire2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published