Getting Started with Cloud Functions for Firebase using TypeScript - Firecasts

Поділитися
Вставка
  • Опубліковано 7 вер 2024
  • Cloud Functions for Firebase lets you automatically run backend code in response to events triggered by Firebase features and HTTPS requests. Watch this video to get started writing functions using TypeScript and deploying them with the Firebase CLI. Check out the links below & subscribe to our channel for the latest Firebase videos.
    Firebase console → goo.gl/mgj8Sc
    Install node.js → goo.gl/D33cb2
    Cloud Functions documentation → goo.gl/BwdRcY
    Codelab → goo.gl/DvWbAB
    Sample code → goo.gl/jPLjJd
    Using TSLint with TypeScript → goo.gl/gg65KD
    Cloud Functions for Firebase - Tutorials → bit.ly/2M2ZBcE
    Subscribe to the Firebase channel → bit.ly/firebase2

КОМЕНТАРІ • 234

  • @codinginflow
    @codinginflow 3 роки тому +41

    Terrific walk-through! It seems scary when you just watch it but if you follow step-by-step, it becomes quite easy 👍

    • @MrMrbannanapants
      @MrMrbannanapants 3 роки тому +1

      Your mvvm tutorials helped us get 100% for my college Mobile Development course
      Ty my guy

    • @codinginflow
      @codinginflow 3 роки тому +1

      @@MrMrbannanapants You're welcome brother

    • @bjornzschernack7653
      @bjornzschernack7653 2 роки тому

      WORD 😀

  • @ntcer
    @ntcer 4 роки тому +81

    I was plumber, after watching this video I became senior Node developer

  • @ololand102
    @ololand102 7 місяців тому +1

    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
    @RockStar-ll8qp 4 роки тому +9

    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 UA-cam videos. The explanations are really good. Thanks for helping amateur developers like us.

  • @oppa5584
    @oppa5584 4 роки тому +1

    Can't tell you in words. How easy this tutorial made for me to work on this.

  • @saveenca
    @saveenca 5 років тому +8

    Thanks doug!! Im glad you kept it very simple. Some of us are rebels and wanna just jump in.

  • @mateja176
    @mateja176 6 років тому +18

    Getting started with Firebase is so quick and easy, I feel right at home. Thanks for the video, Doug!

  • @GarethHall
    @GarethHall 6 років тому +9

    I was impressed how well you explain things.

    • @dougstevenson3769
      @dougstevenson3769 6 років тому +2

      Glad you found this video useful!

    • @GarethHall
      @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
      @nbamj88 6 років тому

      Indeed, very well paced and explained

    • @puntoycomaypunto9633
      @puntoycomaypunto9633 6 років тому

      You are awesome explaining, I already subscribed to your channel hoping you'll start vlogging lol

  • @BITYnaMASE
    @BITYnaMASE 11 місяців тому

    Thanks Doug, this tutorial is pure gold. Easy & simple to follow. I set my first functions in several minutes. Thank you!

  • @w9ahmed
    @w9ahmed 4 роки тому +3

    For linux users, I would suggest to install NVM first, then install npm to avoid to "sudo npm install PACKAGE"

  • @Electricity0
    @Electricity0 5 років тому +45

    Thank you Sheldon Cooper

  • @Rixment
    @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!

  • @gamingman4649
    @gamingman4649 3 роки тому +1

    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
    @avischiffmann6220 5 років тому +1

    This was exactly what I needed, perfect pace for me thank you!

  • @tobystewart4403
    @tobystewart4403 6 років тому +8

    Excellent presentation style.

  • @georgeelsham
    @georgeelsham 6 років тому +4

    For anyone else who was stuck at about 8:08 with deployment, remember to save otherwise it won't send you a link :)

    • @katlegomolepo6830
      @katlegomolepo6830 6 років тому

      This actually helped me was puzzled for a second there😆

    • @fatemashams7488
      @fatemashams7488 5 років тому

      Thnx man! It was helpful

    • @victoravr10
      @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
      @sandeshgyawali8504 4 роки тому +1

      @@victoravr10 try this "npm install firebase-admin@8.6.0 firebase-functions@3.3.0"

  • @fernandotoledo8093
    @fernandotoledo8093 6 років тому

    Wow it has evolved a lot, I really like, I hope you guys publish more stuff like this.

  • @raphaelnk5492
    @raphaelnk5492 4 роки тому +5

    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
      @hnim2292 4 роки тому +1

      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

  • @jaweene
    @jaweene 6 років тому +3

    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)

  • @VinodChandaliya
    @VinodChandaliya 6 років тому

    Thanks for sharing this, I got stuck while using express with this, but later it works +1

  • @patricknascimento7960
    @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.

  • @drodriguezApps
    @drodriguezApps 5 років тому +1

    we need more videos like this. Awesome

  • @danpride2804
    @danpride2804 6 років тому +1

    Kudos. Well Done. One of the best I have seen (of zillions), any chance they could get you on the Angular team :)

    • @dougstevenson3769
      @dougstevenson3769 6 років тому

      Thanks! But I'm Firebase all the way. Well, for the foreseeable future. :-)

  • @newyorkbadboy
    @newyorkbadboy 4 роки тому +2

    Any chance you can specify (anywhere in the documentation) how to run firebase init on a new project (when you already have a default)?

  • @randomusername982374
    @randomusername982374 5 років тому +1

    This is so good, why didn't I find this earlier!

  • @mijmijrm
    @mijmijrm 5 років тому

    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)

  • @startover305
    @startover305 5 місяців тому

    Great tutorial! Too bad the video isn't updated to show the new logger.

  • @eshansingh1
    @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

  • @GajeshSNaik
    @GajeshSNaik 6 років тому +1

    Sir, Please conduct a workshop on Firebase in Panjim-Goa. Please

  • @50cents668
    @50cents668 2 роки тому

    src/index.ts:1:1 - error TS6133: 'functions' is declared but its value is never read.
    1 import * as functions from "firebase-functions";

  • @swapnilkulkarni7779
    @swapnilkulkarni7779 4 роки тому

    Explained very well. Thank you for tutorial

  • @vigneshr5329
    @vigneshr5329 6 років тому

    You mentioned other languages support is coming soon. Waiting for GO !

  • @pokefan2711
    @pokefan2711 4 роки тому

    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'.

  • @sammatthews6323
    @sammatthews6323 6 років тому +1

    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!

  • @enrique10000
    @enrique10000 5 років тому

    Thank you so much, Greetings from Mexico

  • @richie302302
    @richie302302 4 роки тому

    Very helpful and well explained. Thank you :)

  • @steveboyls2179
    @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!

  • @fotios4902
    @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.

  • @wsbarth92
    @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 :)

  • @juanluismitchell
    @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 ?

  • @Brunela111
    @Brunela111 3 роки тому

    Thanks for this tutorial! It's awesome

  • @dergroedickewaldbar3285
    @dergroedickewaldbar3285 5 років тому +5

    Is there any tutorial for sending push notifications in cloud functions using typescript?
    Thx for the videos btW!

    • @17a.studio
      @17a.studio 5 років тому

      What about that tut? Did you find one yet?

    • @manishpingale6558
      @manishpingale6558 5 років тому +2

      This can help you
      i think so,
      ua-cam.com/video/I6p-kYOALbE/v-deo.html

  • @chriskiepfer450
    @chriskiepfer450 4 роки тому +1

    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
      @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
      @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.

  • @AimaneNajja
    @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

  • @ivanalexander1838
    @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?

  • @SyedSunnyhellobuoy
    @SyedSunnyhellobuoy 6 років тому

    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?

  • @alinin5lirasvar943
    @alinin5lirasvar943 4 роки тому

    hi I can will change later this configurations? sorry bad english

  • @syedsabbirsunny719
    @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?

  • @flutterkhouse7498
    @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..

  • @3bodyproblems
    @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

  • @gosinergya3125
    @gosinergya3125 5 років тому

    Excellent video Doug

  • @mikepetersnz
    @mikepetersnz 5 років тому

    Thanks -very clear explanation

  • @raghav4296
    @raghav4296 5 років тому +2

    Hi Doug, would be much helpful to have a short tutorial on setting up cloud functions for local testing. Many thanks!

  • @Ivan_StandWithUkraine
    @Ivan_StandWithUkraine 6 років тому +1

    Is anyone getting *Error: Forbidden Your client does not have permission to get URL /200 from this server.* invoking their cloudfuncions? Thanks.

    • @Wiharlleygalo
      @Wiharlleygalo 5 років тому

      Bro, go to the firebase console console.firebase.google.com in the functions and copy that url to acess.

  • @DanielSadjadian
    @DanielSadjadian 5 років тому +1

    This is so helpful, thanks 👍

  • @bjugdbjk
    @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,,,

  • @se551
    @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
    @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.

  • @jayn4892
    @jayn4892 4 роки тому +2

    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?

  • @kevinsigue8190
    @kevinsigue8190 4 роки тому

    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

  • @qzll333
    @qzll333 4 роки тому

    great video, thanks. Doug!
    Someone know what tools they use to create this kind of videos?

  • @markrjsp
    @markrjsp 6 років тому +2

    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
      @dougstevenson3769 6 років тому +1

      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

  • @r4theatomicsamurai807
    @r4theatomicsamurai807 Рік тому

    good day, is this still available for spark plan?

  • @SampathLokuge
    @SampathLokuge 6 років тому

    Really nice explanation. Thanks :)

  • @sudeepgurung284
    @sudeepgurung284 6 років тому

    How to structure project(multiple files) in firebase cloud functions using typescript ?

  • @uDubRiceBoy
    @uDubRiceBoy 3 роки тому

    Please add Python Support from the firebase console. There is a large Python community and Python Support is much appreciated!

  • @imanullah8177
    @imanullah8177 6 років тому

    Unfortunately... cloud function not support node V.8.... some frameworks it's hard to run...

  • @funtasy261
    @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

  • @soaps2951
    @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 ?

  • @420Sumanta
    @420Sumanta 5 років тому

    Excellent tutorial

  • @funtasy261
    @funtasy261 5 років тому

    please sir help me to out from this problem why activity restart after writing to firebase realtime database

  • @dpsoftwaresolutions8067
    @dpsoftwaresolutions8067 5 років тому +1

    I've an error while initializing functions how to rectify it
    HTTP Error: 403, The caller does not have permission

    • @ChedoTech
      @ChedoTech 4 роки тому

      use sudo before command

  • @jlandyr
    @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

  • @thejoblesscoder
    @thejoblesscoder 5 років тому +1

    Doesn't work the npm dependencies will not install

  • @hynemoon
    @hynemoon 5 років тому

    This is definitely impressive!

  • @AimaneNajja
    @AimaneNajja 5 років тому +1

    -bash: firebase: command not found
    this error is what I get after any firebase command

    • @17a.studio
      @17a.studio 5 років тому

      stackoverflow.com/questions/23645220/firebase-tools-bash-firebase-command-not-found

  • @SijohnMathew
    @SijohnMathew 5 років тому

    Impressive tutorial

  • @codeaxen
    @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......

  • @derencewalk
    @derencewalk 5 років тому

    For anybody else lost at 5:32, this explains what to do: stackoverflow.com/questions/29971053/how-to-open-visual-studio-code-from-the-command-line-on-osx

  • @Atwahira
    @Atwahira 5 років тому

    running "firebase init" gives me "command not found". what do i do?

  • @neharoy6859
    @neharoy6859 6 років тому

    while installing dependency with npm.I am getting an error

  • @yagolopez6186
    @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
      @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
      @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
      @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
      @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
    @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 ?

  • @packofilms
    @packofilms 6 років тому

    At the time of installing "npm install firebase-admin @ latest" I got this error: npm ERR! Unexpected end of JSON input while parsing near '...- types ":" 0.1.1-canary', help!

    • @dougstevenson3769
      @dougstevenson3769 6 років тому

      YT comments might not be the best place to get your problem resolved. There are other support options available that are likely more helpful and provide and better place to explain what's going wrong. firebase.google.com/support/

    • @caiomar
      @caiomar 6 років тому

      Just a guess, try using sudo... it doesn't seem to be a permission issue but hey, it doesn't hurt to try.

  • @JFkingW
    @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
      @dougstevenson3769 6 років тому +1

      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
      @pkop4 6 років тому

      @Doug when GraphQL sir ??

    • @chriswilson8584
      @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.

  • @danishmahmood979
    @danishmahmood979 4 роки тому

    cool. thanks for concept

  • @LouisCognault
    @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

  • @tsortanidischristos412
    @tsortanidischristos412 6 років тому +5

    Doug why are you using the exact same words as Jen? 🤔

    • @CoryMcaboy
      @CoryMcaboy 6 років тому +1

      Tsortanidis Christos I noticed that too! I think they are reading from the same script.

    • @dougstevenson3769
      @dougstevenson3769 6 років тому +15

      I actually wrote the first script, Jen read it last year, then I adapted that script here. Totally lazy. :-)

    • @SteveBoyer10
      @SteveBoyer10 6 років тому +4

      a lazy dev is a good dev. :D

  • @pascalbe4508
    @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
      @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
      @pascalbe4508 6 років тому

      Thanks for the fast response. Looking forward to it :)

  • @codeaxen
    @codeaxen 6 років тому

    am unable to Create a Function for this?

  • @tezelyusuf
    @tezelyusuf 5 років тому

    Hi, I did exactly this -> firebase.google.com/docs/functions/callable for my swift ios app and it didn't work. Nothing more or less. The callable function did not even made a call to the callable function in cloud.
    Later i found out debugging objective-c code (sucks), that the user must be authenticated before you can make a callable call to cloud functions from your iOS app. Please add this kind of important knowledge to docs!

  • @darshangowda309
    @darshangowda309 6 років тому +2

    Now that we have tensorflow.js :P Is it a good idea to use tf.js inside cloud functions for training/predicting ?

    • @chriswilson8584
      @chriswilson8584 6 років тому +1

      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
      @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 ?

  • @MrMoonwalkingBear
    @MrMoonwalkingBear 6 років тому

    Why is there a firebase sticker on the middle of your laptop?

  • @shivamsaxena7378
    @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
      @dougstevenson3769 6 років тому +3

      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

    • @shivamsaxena7378
      @shivamsaxena7378 6 років тому

      Thanks for the information Doug!

  • @marcosazevedo3785
    @marcosazevedo3785 6 років тому

    Thank you !

  • @darkdragon6449
    @darkdragon6449 3 роки тому +1

    Helpful!

    • @Firebase
      @Firebase  3 роки тому

      Glad you think so!

  • @ancasavilla
    @ancasavilla 6 років тому

    Hola se puede saber por que no hay traduccion al español el segundo idioma hablado?

  • @phuocnguyenhuu3589
    @phuocnguyenhuu3589 5 років тому

    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?

  • @MuhammadAmir-mf9xt
    @MuhammadAmir-mf9xt 4 роки тому

    Very helpful 👍❤❤❤

  • @jordiguzman
    @jordiguzman 5 років тому

    When a wrote firebase deploy this is the message from my console:
    Running command: npm --prefix "$RESOURCE_DIR" run lint
    npm ERR! path E:\Cloud Functions\%RESOURCE_DIR%\package.json
    npm ERR! code ENOENT
    npm ERR! errno -4058
    npm ERR! syscall open
    npm ERR! enoent ENOENT: no such file or directory, open 'E:\Cloud Functions\%RESOURCE_DIR%\package.json'
    npm ERR! enoent This is related to npm not being able to find a file.
    npm ERR! enoent