Skip to content

Instantly share code, notes, and snippets.

View prashantbirajdar999's full-sized avatar

prashant birajdar prashantbirajdar999

  • Mobisoft Infotech
  • pune
View GitHub Profile
@prashantbirajdar999
prashantbirajdar999 / app.module.ts
Last active November 18, 2019 07:15
How to add fire store module to the angular app module file
import { environment } from '../environments/environment';
import { AngularFireModule } from '@angular/fire';
import { AngularFireDatabaseModule } from '@angular/fire/database';
@NgModule({
declarations: [],
imports: [AngularFireModule.initializeApp(environment.firebase),
AngularFireDatabaseModule,
SharedModule.forRoot()
],
@prashantbirajdar999
prashantbirajdar999 / environment.ts
Last active November 18, 2019 07:02
Firestore env file
export const environment = {
production: true,
basePath: '',
idleTimeEnable: true,
firebaseConfig: {
apiKey: "AIza************************",
authDomain: "reac***********eapp.com",
databaseURL: "https://reac***********eio.com",
projectId: "react-base-2fe6f",
storageBucket: "rea***********t.com",