Angular 4 app using AngularFire2 connect to Firebase Cloud Storage (Beta) to get data to page.
AngularFire2 v5.0.0 on GitHub.
- Go to FireBase create Account and Project.
- Select Add firebase to your web ap to get the config information.
- Go to Authentication, choose tab Sign-in method enable Google Login
- Then go to Database, choose Try firestore beta, select Start in test mode then Enable.
First we need to install Angular CLI.
npm install -g @angular/cli
Go to src\app edit app.module.ts with the firebase project config information
var firebaseConfig = {
apiKey: "",
authDomain: "",
databaseURL: "",
projectId: "",
storageBucket: "",
messagingSenderId: ""
};
open cmd run
npm install
then
ng serve --open