Firebase step by step for dummies

Shi
CI/CD/DevOps
Published in
1 min readApr 17, 2020

step 0: register at https://console.firebase.google.com/ to create free tier account

step 0: create a project in firebase called uppercase-func; I am going to deploy a function in this tutorial

step 0: on Linux box, install git and npm

step 1:

sudo npm install -g firebase-toolsgit clonehttps://github.com/firebase/functions-samplescd quickstarts/; cd uppercase; cd functions; npm installfirebase loginfirebase deploy —project uppercase-func

Gotchas:

what if you are working from a headless terminal?

firebase login --no-localhost

Test:

From browser, go to

https://us-central1-uppercase-func.cloudfunctions.net/addMessage?text=low

we get:

--

--

Shi
CI/CD/DevOps

I am a coder/engineer/application security specialist. I like to play around with language and tools; I have strong interest in efficiency improvement.