First of all, we need to store the Firebase configuration settings inside the project environment variables. Follow these steps to do so:
- Update the src/environments/environment.ts file with the Firebase configuration that you received earlier in this chapter when setting up the Firebase project:
export const environment = { production: false, firebaseConfig: { apiKey: 'AIzaSyDPgAiN7dFqjp17HVFRWT2QaChHx5oGeBo', authDomain: 'electron-chat-app-df7eb.firebaseapp.com', databaseURL: 'https://electron-chat-app-df7eb.firebaseio.com', projectId: 'electron-chat-app-df7eb', storageBucket: '', messagingSenderId: '610931503152', appId: '1:610931503152:web:f2ccc78969eb58a3' } };