Code for Firebase serverless services - web app.
- Go to firebase, https://firebase.google.com/
- Sign in
- Go to console
- Create new project
- Select "project settings" add web app
- Copy JS configuration, you will need it in your code
- Enable service (e.g. authentication)
var firebaseConfig = {
apiKey: "apple",
authDomain: "pear",
projectId: "grape",
storageBucket: "guava",
messagingSenderId: "kiwi",
appId: "peach"
};