I was plumber, after watching this video I became senior Node developer
@supriyjinturkar7477
4 жыл бұрын
😂
@ThatGuyAnonymous
4 жыл бұрын
🤣 Firebase should pin this comment!
@Uhuru_Kenyatta
3 жыл бұрын
I became a computer too
@nivaldolemos5280
3 жыл бұрын
Maam I Do My Own Plumbing.
@codinginflow
3 жыл бұрын
Terrific walk-through! It seems scary when you just watch it but if you follow step-by-step, it becomes quite easy 👍
@MrMrbannanapants
3 жыл бұрын
Your mvvm tutorials helped us get 100% for my college Mobile Development course Ty my guy
@codinginflow
3 жыл бұрын
@@MrMrbannanapants You're welcome brother
@bjornzschernack7653
2 жыл бұрын
WORD 😀
@ololand102
8 ай бұрын
This is the best presentation on Firebase i found so far! Thank you Sir! Unfortunately, none of the current videos (as of Feb 2024) from your colleagues at Firebase team come even close. Please come back and post more videos on Firebase, Google Cloud, and Vertex AI!
@RockStar-ll8qp
4 жыл бұрын
Sir, I first interacted with you in Stack Overflow. I really liked your answers there. You were quite helpful. But, I didn't know about your KZitem videos. The explanations are really good. Thanks for helping amateur developers like us.
@oppa5584
4 жыл бұрын
Can't tell you in words. How easy this tutorial made for me to work on this.
@saveenca
5 жыл бұрын
Thanks doug!! Im glad you kept it very simple. Some of us are rebels and wanna just jump in.
@mateja176
6 жыл бұрын
Getting started with Firebase is so quick and easy, I feel right at home. Thanks for the video, Doug!
@BITYnaMASE
Жыл бұрын
Thanks Doug, this tutorial is pure gold. Easy & simple to follow. I set my first functions in several minutes. Thank you!
@GarethHall
6 жыл бұрын
I was impressed how well you explain things.
@dougstevenson3769
6 жыл бұрын
Glad you found this video useful!
@GarethHall
6 жыл бұрын
Doug Stevenson definitely did! Just finished looking into TypeScript as I haven’t before. And because this video got me looking, I’m definitely transitioning to TypeScript from here on out for everything, including my Cloud Functions. Thank you Doug.
@nbamj88
6 жыл бұрын
Indeed, very well paced and explained
@puntoycomaypunto9633
6 жыл бұрын
You are awesome explaining, I already subscribed to your channel hoping you'll start vlogging lol
@Electricity0
5 жыл бұрын
Thank you Sheldon Cooper
@MrRodothy
5 жыл бұрын
haha
@Rixment
4 жыл бұрын
Mindblowing, really enjoy Firebase products. The only problem I had was with my 'deploy' command as my .js file was not built automatically and I was receiving an error. I had to run *tsc --watch* in my other bash terminal to built the sources automatically in the background after every change made in the code. Great job Firebase team!
@w9ahmed
4 жыл бұрын
For linux users, I would suggest to install NVM first, then install npm to avoid to "sudo npm install PACKAGE"
@jaweene
6 жыл бұрын
Doug, at 1:48 you mention more languages will be supported in the future. Is Dart one of those languages? It'd be great for the mobile app to be developed in Dart (Flutter), and the server-side code to be in Dart too (Firebase + Cloud Functions)
@raphaelnk5492
4 жыл бұрын
Do we reaally need a blaze plan for this? I don't even have a credit card :'-( . Just when I thought I found the perfect solution
@hnim2292
4 жыл бұрын
for temporarily you can change node version by this "engines": { "node": "8" } But in March 2021 it will be forced to use node 10 :( sadly
@fernandotoledo8093
6 жыл бұрын
Wow it has evolved a lot, I really like, I hope you guys publish more stuff like this.
@tobystewart4403
6 жыл бұрын
Excellent presentation style.
@VinodChandaliya
6 жыл бұрын
Thanks for sharing this, I got stuck while using express with this, but later it works +1
@gamingman4649
3 жыл бұрын
how to solve this error (Error: Your project fir-c04d1 must be on the Blaze (pay-as-you-go) plan to complete this command. Required API cloudbuild.googleapis.)
@avischiffmann6220
5 жыл бұрын
This was exactly what I needed, perfect pace for me thank you!
@drodriguezApps
5 жыл бұрын
we need more videos like this. Awesome
@GajeshSNaik
6 жыл бұрын
Sir, Please conduct a workshop on Firebase in Panjim-Goa. Please
@newyorkbadboy
4 жыл бұрын
Any chance you can specify (anywhere in the documentation) how to run firebase init on a new project (when you already have a default)?
@danpride2804
6 жыл бұрын
Kudos. Well Done. One of the best I have seen (of zillions), any chance they could get you on the Angular team :)
@dougstevenson3769
6 жыл бұрын
Thanks! But I'm Firebase all the way. Well, for the foreseeable future. :-)
@randomusername982374
5 жыл бұрын
This is so good, why didn't I find this earlier!
@startover305
6 ай бұрын
Great tutorial! Too bad the video isn't updated to show the new logger.
@sammatthews6323
6 жыл бұрын
Could you guys do a course on progressive migration of exisiting Apps / users / data etc from real time database to firestore? Would be very handy to see some best practice guides of this migration. Thanks!
@vigneshr5329
6 жыл бұрын
You mentioned other languages support is coming soon. Waiting for GO !
@raghav4296
5 жыл бұрын
Hi Doug, would be much helpful to have a short tutorial on setting up cloud functions for local testing. Many thanks!
@Larrivey9
5 жыл бұрын
Yes, please!!!
@markrjsp
6 жыл бұрын
Shouldn’t Dart be easy for you to add as a language, since it also compiles to Javascript? For those using Flutter it would be amazing, and it’s also easier for those coming from Android/iOs to learn Dart instead of Typescript.
@dougstevenson3769
6 жыл бұрын
TypeScript is supported by a transpile command in a predeploy hook in the Firebase CLI. You could certainly set up the same thing for Dart for yourself, since the predeploy hooks are just configuration in your project's firebase.json. firebase.google.com/docs/cli/#predeploy_and_postdeploy_hooks
@swapnilkulkarni7779
4 жыл бұрын
Explained very well. Thank you for tutorial
@wsbarth92
2 жыл бұрын
great intro, was quite overwhelmed, still curious on 'how do i call this from my react app that is linked to a web app on firebase using firestore etc' can i put my function project with my web app project? or would i have two separate projects? and how do i import that into my app, maybe this is covered somewhere and I just have to keep looking :)
@georgeelsham
6 жыл бұрын
For anyone else who was stuck at about 8:08 with deployment, remember to save otherwise it won't send you a link :)
@katlegomolepo6830
6 жыл бұрын
This actually helped me was puzzled for a second there😆
@fatemashams7488
5 жыл бұрын
Thnx man! It was helpful
@victoravr10
5 жыл бұрын
I did save but still getting this error: npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! functions@ build: `tsc` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the functions@ build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
@sandeshgyawali8504
4 жыл бұрын
@@victoravr10 try this "npm install firebase-admin@8.6.0 firebase-functions@3.3.0"
@dergroedickewaldbar3285
5 жыл бұрын
Is there any tutorial for sending push notifications in cloud functions using typescript? Thx for the videos btW!
@17a.studio
5 жыл бұрын
What about that tut? Did you find one yet?
@manishpingale6558
5 жыл бұрын
This can help you i think so, kzitem.info/news/bejne/qmymk5-PiHN9lXo
@thejoblesscoder
5 жыл бұрын
Doesn't work the npm dependencies will not install
@richie302302
4 жыл бұрын
Very helpful and well explained. Thank you :)
@enrique10000
5 жыл бұрын
Thank you so much, Greetings from Mexico
@Brunela111
3 жыл бұрын
Thanks for this tutorial! It's awesome
@gosinergya3125
5 жыл бұрын
Excellent video Doug
@tsortanidischristos412
6 жыл бұрын
Doug why are you using the exact same words as Jen? 🤔
@CoryMcaboy
6 жыл бұрын
Tsortanidis Christos I noticed that too! I think they are reading from the same script.
@dougstevenson3769
6 жыл бұрын
I actually wrote the first script, Jen read it last year, then I adapted that script here. Totally lazy. :-)
@SteveBoyer10
6 жыл бұрын
a lazy dev is a good dev. :D
@qzll333
4 жыл бұрын
great video, thanks. Doug! Someone know what tools they use to create this kind of videos?
@ivanalexander1838
4 жыл бұрын
Is it possible to have a document of functions written in the Python environment and another document of functions written in the node.Js environment using typescript for the same firebase project?
@50cents668
3 жыл бұрын
src/index.ts:1:1 - error TS6133: 'functions' is declared but its value is never read. 1 import * as functions from "firebase-functions";
@mikepetersnz
5 жыл бұрын
Thanks -very clear explanation
@mijmijrm
6 жыл бұрын
why didn't you tell us about the feature where the [firebase init] command stumbles out with [Error: An unexpected error has occurred.] if there are no pre-existing firebase projects? (my firebase version 5.1.1)
@imanullah8177
6 жыл бұрын
Unfortunately... cloud function not support node V.8.... some frameworks it's hard to run...
@AimaneNajja
5 жыл бұрын
why doing it in typescript when there so few examples to find about sending a FCM push notification from a Cloud Function... I didn't find any
@fotios4902
4 жыл бұрын
@04:03 'firebase login' did not do the trick for me. I got a 'login: ' where every password I've tried didn't work. Then I found in stackoverflow that you can do ' firebase login:ci ' this will give you a link in which if you 'ctr +' click it will open a new tap in your browser where you can choose the google account you want to use to log in to your firebase account. Choosing one will authenticate you and give you a token to login on a CI server.
@se551
6 жыл бұрын
Great Tutorial! I follow your video and works well. Now I would like to start another project to use cloud function. Do i need to run firebase init again in terminal? Will it overwrite the functions of my previous project?
@MrEdward2553
4 жыл бұрын
Hello, how can i use the hook to add firebase to an existing web application written in ts? Thanks and greetings from Colombia.
@MrMoonwalkingBear
6 жыл бұрын
Why is there a firebase sticker on the middle of your laptop?
@syedsabbirsunny719
6 жыл бұрын
Can I run ANY function inside the function by the generated url? Does it not depend on get or post? In my understanding, yes. But if thefunction inside uses any dynamic data, we use post. Am I right?
@3bodyproblems
5 жыл бұрын
Looking for Documentation Is it possible to use "firebase init functions" in a non interactive way ?, I can find docs , and Im experimenting with CI/CD deployments
@jayn4892
5 жыл бұрын
When I add something to the VS Code editor, the browser link doesn't update unless I type "firebase deploy" but in this video he doesn't deploy when he adds the log. Am I missing something?
@DanielSadjadian
5 жыл бұрын
This is so helpful, thanks 👍
@juanluismitchell
5 жыл бұрын
How can I get functions with routes like for example client/ or client/{id}........ and also still have the function list of end-points on the firebase console ?
@dpsoftwaresolutions8067
5 жыл бұрын
I've an error while initializing functions how to rectify it HTTP Error: 403, The caller does not have permission
@ChedoTech
4 жыл бұрын
use sudo before command
@r4theatomicsamurai807
Жыл бұрын
good day, is this still available for spark plan?
@LouisCognault
6 жыл бұрын
You told about adding new languages. Is Kotlin support high on the list and being worked on? Should we expect Kotlin/JS or Kotlin/JVM? I'd like to play with Cloud Functions before starting a serious project, but I don't want to invest time learning TypeScript & JavaScript when Kotlin, my preferred language which I use daily may get support right around the corner. #AskFirebase
@kevinsigue8190
5 жыл бұрын
i got an error which says:"" Cannot run login in non-interactive mode. See login:ci to generate a token for use in non-interactive environments. ""after i input the command firebase login ... help
@soaps2951
4 жыл бұрын
There is already a python runtime on cloud platform can I now use python to write functions and actually is there any documentation for that ?
@blessedj247
6 жыл бұрын
"code ." u mean you already write a code ?
@alinin5lirasvar943
4 жыл бұрын
hi I can will change later this configurations? sorry bad english
@AimaneNajja
5 жыл бұрын
-bash: firebase: command not found this error is what I get after any firebase command
Does using the url generated let any function inside run regardless of get or post request? I am confused. I think yes. If we need dynamic code to run then post just helps with the data. Am I right?
@420Sumanta
5 жыл бұрын
Excellent tutorial
@flutterkhouse7498
5 жыл бұрын
i have latest versions of node,npm and firebase.. everything works fine but in the end those files into my directory aren't created.. but i don't get any error or something..
@SampathLokuge
6 жыл бұрын
Really nice explanation. Thanks :)
@chriskiepfer450
4 жыл бұрын
Hi Doug, I have followed through your set up video and everything went fine until I had to run 'firebase deploy' and keep getting an error src/index.ts:1:1 error ts6033 'functions' is declared but its value is never read. I have tried everything and even set up a new project but still get the same problem. Do I have to import anything into my project (in xcode)? Your help would be appreciated. Thanks Chris
@ahnafswapnil275
4 жыл бұрын
stackoverflow.com/questions/47756264/cloud-functions-firebase-cli-predeploy-error-typescript follow the last answer. This worked for me. But I keep getting a server error. It's probably related to my internet
@natemaynatemay
2 жыл бұрын
I'm sure there are lots of legit reasons to get this error but I got it for a really dumb reason: I hadn't saved my typescript file after I uncommented the code.
@funtasy261
5 жыл бұрын
Dear sir i am suffering into a problem with firebase realtime database when i write into database after successfully write data the activity has restart automatically and start MainActivity my whole project behave like this i was tried much efforts but till i didn't find the solution i don't know the problem what happen
@pokefan2711
5 жыл бұрын
I am having lots of missing Babel modules, when doing firebase deploy, like this one: ../node_modules/@types/babel__core/index.d.ts:10:34 - error TS2307: Cannot find module '@babel/core/node_modules/@babel/generator'.
@patricknascimento7960
6 жыл бұрын
Hint: If your "firebase deploy" gets stuck somehow, check it out whether you are not behind a proxy. I lost some hours on that today before I notice the issue was on the proxy after hotspoting a wifi network from my mobile phone.
@Atwahira
5 жыл бұрын
running "firebase init" gives me "command not found". what do i do?
@Ivan_StandWithUkraine
6 жыл бұрын
Is anyone getting *Error: Forbidden Your client does not have permission to get URL /200 from this server.* invoking their cloudfuncions? Thanks.
@Wiharlleygalo
5 жыл бұрын
Bro, go to the firebase console console.firebase.google.com in the functions and copy that url to acess.
@steveboyls2179
4 жыл бұрын
I've installed firebase-admin, and firebase-functions in my project. However, I get the error that 'firebase-functions' not found. I find it in the package.json files its in the node-modules directory. Any ideas as to why it's not found? This also makes it impossible to deploy the function. Any help is appreciated!
@jlandyr
4 жыл бұрын
Great video Doug. I have a question #askFirebase, I have a project with 2 real time databases (blaze plan), I've already developed cloud functions for one of the DB, but these functions does not work on the other DB. How can I deploy the same functions for both DB? I don't know where to choose which DB will be affected by the functions. Thank you for your help
@SijohnMathew
5 жыл бұрын
Impressive tutorial
@sudeepgurung284
6 жыл бұрын
How to structure project(multiple files) in firebase cloud functions using typescript ?
@funtasy261
5 жыл бұрын
please sir help me to out from this problem why activity restart after writing to firebase realtime database
@neharoy6859
6 жыл бұрын
while installing dependency with npm.I am getting an error
@uDubRiceBoy
3 жыл бұрын
Please add Python Support from the firebase console. There is a large Python community and Python Support is much appreciated!
@codeaxen
6 жыл бұрын
Hello am new to Firebase am working on a project in Ionic were i need to create App which has Articles and users can create Article and be able to comment on other users Articles need Help Here......
@bjugdbjk
6 жыл бұрын
Hi ,I wrote a cloud function where i will be pushing the signed url of the image file in firebase storage to firebase database, and I want to download that image into my external storage of my app, So will teh signed url will work do i need to go download url, could someboady help me on this,,,
@hynemoon
5 жыл бұрын
This is definitely impressive!
@codeaxen
6 жыл бұрын
am unable to Create a Function for this?
@danishmahmood979
4 жыл бұрын
cool. thanks for concept
@yagolopez6186
6 жыл бұрын
Very clear explanations but wouldnt be more appropiate to use types for request and response parameters? With a strict Typescript configuration in tsconfig.json it could be throw a compilation error if I'm not wrong.
@dougstevenson3769
6 жыл бұрын
The types of the request and response parameters are inferred by the TypeScript compiler, given what it knows about the firebase-functions module. You can see what it thinks they are by hovering the mouse over them. There's no need to give them explicit types in this case.
@yagolopez6186
6 жыл бұрын
Great. I guess the function is defined elsewhere in a type file. I mentioned it because it's common compilation error I use to have. Great stuff Firebase functions by the way!
@dougstevenson3769
6 жыл бұрын
Pretty much all types for libraries are defined in dedicated files. They're usually found in .d.ts files in the library distribution. In VS Code, if you command- or control-click on a symbol in your code, it should take you off the the definition of that symbol in whatever library defines it.
@yagolopez6186
6 жыл бұрын
Yes, I know. function.https.onRequest() must be defined in one of the Firebase definition files with the parameter types. It is perfectly clear now, thanks. Firebase + Typescript is awesome, almost like programing server side in C# or Java.
@vibekatcher4546
6 жыл бұрын
Error: functions predeploy error: Command terminated with non-zero exit code4294963238 %RESOURCE_DIR%%RESOURCE_DIR%%RESOURCE_DIR% ????? First deploy doesn't work? = . =....????/ what ?
@thatguynamedmorgoth8951
4 жыл бұрын
you should add befunge 98 support
@eshansingh1
5 жыл бұрын
If you have Node etc already installed and you understand what all this is about, and you need to just skip to the main instructions, go to 3:40
@darkdragon6449
3 жыл бұрын
Helpful!
@Firebase
3 жыл бұрын
Glad you think so!
@pascalbe4508
6 жыл бұрын
Nice introduction, thanks for that :) Is there a way to really debug the functions code, like with breakpoints and stuff? I know we have that experimental shell, but can we somehow attach a debugger?
@dougstevenson3769
6 жыл бұрын
It's possible to to do today, but it's not very straightforward to set up. The Firebase team is looking into ways to make step-through debugging easier for local testing!
@pascalbe4508
6 жыл бұрын
Thanks for the fast response. Looking forward to it :)
@darshangowda309
6 жыл бұрын
Now that we have tensorflow.js :P Is it a good idea to use tf.js inside cloud functions for training/predicting ?
@chriswilson8584
6 жыл бұрын
To me it would seem like using Cloud Functions for AI seems backwards. If you need a specific implementation maybe it's best to run your own server or find a service catered to this like Google Cloud AI. I've always understood that Cloud Functions are just for quick backend processes which you don't want running on the client side.
@DenisTRUFFAUT
6 жыл бұрын
Does your training requires to be public ? Does your model fits in browser ? Did you consider Cloud Auto ML, that handles both training & predicting ?
@phuocnguyenhuu3589
6 жыл бұрын
I'm a newbie and I'm stuck at 5:34 of your video. How to show this code editor? (use command code . ?) and the name of this code editor?
@khushilalgandhi692
5 жыл бұрын
Visual studio code
@JFkingW
6 жыл бұрын
ATM I only really know Java but I want to use Cloud Functions for my App. This Video suggest I should learn TypeScript instead of JavaScript. Why? What are the differences and what is easier to learn coming from Java?
@dougstevenson3769
6 жыл бұрын
TypeScript is entirely enhancements upon JavaScript. It takes future features of JavaScript that haven't been implemented, and adds a static typing system to it. You can simply write JavaScript in your TypeScript code if you want (all JavaScript is valid TypeScript), then adapt to use TypeScript as you see fit.
@pkop4
6 жыл бұрын
@Doug when GraphQL sir ??
@chriswilson8584
6 жыл бұрын
I personally like writing in TypeScript. It gives lots of feedback via the IDE if you use it as it's meant to be used. On the plus side, you can pretty much write plain JS if you like as well. All it does really is allow you to define your objects to adhere to a strict blueprint via interfaces (interface are somewhat of a misnomer as they are just blueprints which your objects and classes have to adhere to). For instance, if I set the type of a property to an array of pizzas but I accidentally try to throw in a pizza then I'll get an error in the IDE. Or if a property is supposed to be a string but I'm trying to set it as a number I'll also get an error in the IDE - saves coders from stupid mistakes and makes sure your code is consistent. Look it up, spend about an hour or two with an open mind and decide for yourself.
@marcosazevedo3785
6 жыл бұрын
Thank you !
@onlyformoin
4 жыл бұрын
Kindly inform me how I resolve this error. ⚠ functions: missing required API cloudbuild.googleapis.com. Enabling now...
@paulmacfarlane6089
4 жыл бұрын
It is just the script didn't find the API so it enabled it during your running of the script. If you see these two lines right after ✔ functions: required API cloudfunctions.googleapis.com is enabled ✔ functions: required API cloudbuild.googleapis.com is enabled then you should be fine.
@Алексей-е9х5л
6 жыл бұрын
How about CoffeeScript??
@TheGrafox
6 жыл бұрын
Thanks ... this video just come in time because the videos from Jennifer is deprecated!? ... looking for word to see more videos ... please some examples like image thumbnail with firestore
@dougstevenson3769
6 жыл бұрын
Jen's original videos are deprecated because of breaking changes in the new Firebase SDK for Cloud Functions 1.0. A lot of the information from those videos is no longer correct, so we're producing them again to correct the differences (and also be more effective, based on feedback we received from the community).
@amittrehan8914
6 жыл бұрын
any idea when those series of new updated videos compatible with Cloud Functions 1.0 will be available?
@dougstevenson3769
6 жыл бұрын
They'll be coming in slowly over time.
@feihcsim7045
3 жыл бұрын
man i really want to know what MechaHamster is all about
@shivamsaxena7378
6 жыл бұрын
I had watched some of Jen's videos on Google cloud functions for firebase on this channel a few days ago. I wanted to revisit those again as I found them really helpful but it seems like they have been taken down. Any particular reason for that?
@dougstevenson3769
6 жыл бұрын
Just the other day, the functions SDK version 1.0 was released, and it changes APIs in a way that breaks existing code on upgrade. That makes all the old videos obsolete, because they all talk about the old APIs. All that information is being recreated into new videos and documentation. To get your code up to date, be sure to read the migration guide here: firebase.google.com/docs/functions/beta-v1-diff
Пікірлер: 234