- Clone the repository
- Create a file within the main repository folder called
config.js
- Copy-paste the following code into
config.js
:
// Initialize Firebase
var config = {
apiKey: "<apiKey from firebase>",
authDomain: "final-project-40d8a.firebaseapp.com",
databaseURL: "https://final-project-40d8a.firebaseio.com",
projectId: "final-project-40d8a",
storageBucket: "final-project-40d8a.appspot.com",
messagingSenderId: "<Sender ID indicated in Firebase Settings > Cloud Messaging>"
};
- Do NOT commit
config.js
to the repository.apiKey
andmessagingSenderId
are sensitive information that do not belong in the repository.
Created by @lrbloch