DEV Community

Cover image for Getting started with Google Cloud Functions on Firebase

Getting started with Google Cloud Functions on Firebase

Bogdan Covrig on February 26, 2019

You know what they say. In a world full of serverless, deploy... serverless. So, of course, I will do my part. Working on a small project that requ...
Collapse
 
andersjr1984 profile image
andersjr1984 • Edited

Excellent work Bogdan!

Just wanted to let you know that you can test your Firebase functions inside of Google's Cloud Platform without any pain or heartache. Just go to this page. You will see each of your functions listed, you can then click on the three dots to the right and select "Test Functions".

I just attempted a similar write up last week, not quite as detailed as what you have here, but similar. Of course, I have only been programming for about a month, so some of my syntax and language is pretty brutal. If you want to read it, check it out here.

Thanks again!

Collapse
 
bogdaaamn profile image
Bogdan Covrig

Lovely! That is actually useful, even if I usually test a lot on localhost before deploy. And even after deploy, I still use Postman, but I can find myself in situations when I don't reach Postman to do it. I will definitely take a look at that.

Great article on integrating Google Cloud Functions with React. Big up! In my first month of programming I didn't even dream of serverless deploys.

Collapse
 
rdelga80 profile image
Ricardo Delgado

I think also on April 1 the API for runtime is changing too, from Google:

Creating new functions using the Cloud Functions API

When you create a new function using the Cloud Functions API, you must specify the runtime for your function in the CloudFunction resource passed to the create method; for example:

{
"name": "myFunction",

"runtime": "nodejs6",

}
You can specify any of the following valid runtimes: "go111", "nodejs6", "nodejs8" or "python37".

Collapse
 
burtonmiller profile image
burton miller

Excellent article! Precise, clear, and complete. I'm just learning the ins and outs of Firebase to build out an MVP, and this is a big help.

Write more:)

Collapse
 
bogdaaamn profile image
Bogdan Covrig

That's great Burton!

Thanks for your kind words! Happy that it reached you

Collapse
 
thevetdoctor profile image
Obafemi

Detailed and very helpful piece. Cheers!

Collapse
 
thisisstefan_ profile image
Stefan aGz

how do I remove the "-LZadZujD5Qb1MrQvAd_": and return my own custom name