Build a Serverless API with Firebase cloud functions, TypeScript and Firestore

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ม.ค. 2025

ความคิดเห็น •

  • @EbenezerDon
    @EbenezerDon  ปีที่แล้ว +1

    Like this video? Please use the super thanks. That'll make my day!
    Learn Node.js from scratch: www.traversymedia.com/a/2147528896/FbN8FgHM
    Learn Modern JavaScript from scratch: www.traversymedia.com/a/2147528886/FbN8FgHM

  • @UlaMage
    @UlaMage ปีที่แล้ว +1

    Wow, still a great tutorial. My api is working!

    • @EbenezerDon
      @EbenezerDon  ปีที่แล้ว

      Glad this helped. Thanks for the support!

  • @EbenezerDon
    @EbenezerDon  3 ปีที่แล้ว

    Please remember to like and subscribe! I really need your support 🙏🏾

  • @badmusalex1568
    @badmusalex1568 3 ปีที่แล้ว

    you are the best bro. fighting on how to open my firebase emulators for days now. i got the solution from this wonderful tutorial.

  • @GeertsTim
    @GeertsTim 2 ปีที่แล้ว +1

    Undervalued video, amazing walkthrough, thanks a lot!

  • @ElProofessor
    @ElProofessor ปีที่แล้ว

    You saved my project exam . Thanks a lot

  • @daviesesiro6679
    @daviesesiro6679 4 ปีที่แล้ว

    This is awesome... Can't wait to finish the video

    • @EbenezerDon
      @EbenezerDon  4 ปีที่แล้ว

      Thanks, Davies. Looking forward to seeing your finished project.

  • @joeladeniji9887
    @joeladeniji9887 2 ปีที่แล้ว +1

    Can we use this for realtime? Do you have an example?

  • @SuryaNairIsHere
    @SuryaNairIsHere 2 ปีที่แล้ว

    This just helped. Thanks for creating such content!!!

    • @EbenezerDon
      @EbenezerDon  2 ปีที่แล้ว

      I'm happy this helped!

  • @oluwatosinsamuel5413
    @oluwatosinsamuel5413 2 ปีที่แล้ว

    Great Stuff. Saved me a lot of stress.

  • @prathameshchavan3953
    @prathameshchavan3953 2 ปีที่แล้ว +5

    Really helped a lot, thanks. Can you also share how to add authentication to it and secure these APIs. Like, only authenticated users from Firebase can call these functions. I'm really looking for that. Thanks!

  • @ben_z3889
    @ben_z3889 10 หลายเดือนก่อน

    great video! just a quick question, how do we make these api secure?

  • @orofinadedamola4008
    @orofinadedamola4008 3 ปีที่แล้ว

    Nice one. Thanks a lot, it didn't feel like an hour at all. 👍 Can't wait to see one on authentication

  • @girishpandey9976
    @girishpandey9976 3 ปีที่แล้ว

    Good Tutorial and make more on firestore sir...

  • @FcoJavierLopezGarcia
    @FcoJavierLopezGarcia 3 ปีที่แล้ว

    Very nice Don!! thanks for the great content!!

    • @EbenezerDon
      @EbenezerDon  3 ปีที่แล้ว +1

      Thanks for watching, Javier! I'm glad this helped!

    • @FcoJavierLopezGarcia
      @FcoJavierLopezGarcia 3 ปีที่แล้ว

      @@EbenezerDon do you have a video explaining or could you please explain how your "firebase-diary.api" project works? I would like to know how to call from postman the different methods with athorization middleware validation in place. Where you get the token? from the service account?

    • @EbenezerDon
      @EbenezerDon  3 ปีที่แล้ว +1

      @@FcoJavierLopezGarcia I'm currently working on the video. It should be published by Saturday.

    • @FcoJavierLopezGarcia
      @FcoJavierLopezGarcia 3 ปีที่แล้ว +1

      @@EbenezerDon sounds great!! Thanks!!

    • @FcoJavierLopezGarcia
      @FcoJavierLopezGarcia 3 ปีที่แล้ว

      Any advance on the video? expecting!! :-) Thanks

  • @jaayaustin336
    @jaayaustin336 3 ปีที่แล้ว

    This was a very informative video, Keep up the good work bros

  • @rosshoyt2030
    @rosshoyt2030 2 ปีที่แล้ว

    Excellent tutorial! Thanks 👏👏

    • @EbenezerDon
      @EbenezerDon  2 ปีที่แล้ว

      Glad it was helpful!

  • @yungwarlock
    @yungwarlock 3 ปีที่แล้ว

    Thank you so much for this video. Helped me a lot 🙏🙏🙏🙏🙏🙏

    • @EbenezerDon
      @EbenezerDon  3 ปีที่แล้ว

      I'm happy this helped :)

  • @aliozeir708
    @aliozeir708 3 ปีที่แล้ว

    Thank you mate. That was really useful

  • @awadieudonnembuh4194
    @awadieudonnembuh4194 3 ปีที่แล้ว

    Very helpful video. Great work!

  • @tarun_reddy
    @tarun_reddy 2 ปีที่แล้ว

    Thank you for this video! Whenever you get a chance can you try making a video using cloud functions to send a push notification using FCM and cloud functions? Thank you!

  • @themdsolution5757
    @themdsolution5757 ปีที่แล้ว

    how can add code to upload image with this functions plz and thanks for your help

  • @ikxni
    @ikxni 4 ปีที่แล้ว

    Great content man! Keep it up, helped me a lot...

    • @EbenezerDon
      @EbenezerDon  4 ปีที่แล้ว

      Thanks, man. I'm glad I was able to help.

  • @jessicar.williams199
    @jessicar.williams199 2 ปีที่แล้ว

    I can't find the other tutorial of yours that you reference in this video: Firebase authentication/authorization. It'd be great if you linked in the description of this video. I'd really like to see it as I learned a lot from you in this video and that video sounds like a great next step. Thank you!

    • @EbenezerDon
      @EbenezerDon  2 ปีที่แล้ว +1

      I've planned to do this but have not had the time to. Here's one of my repos where I implemented authentication: github.com/ebenezerdon/firebase-diary-api

    • @jessicar.williams199
      @jessicar.williams199 2 ปีที่แล้ว

      @@EbenezerDon Thank you!

  • @letaciogalvao9908
    @letaciogalvao9908 11 หลายเดือนก่อน

    Thanks a lot!

  • @bemotivateddaily271
    @bemotivateddaily271 3 ปีที่แล้ว

    Hi, Ebenezer please how were you able to subscribe to firebase blaze plan, I have been trying but it is not working

  • @GuusDeBruyn
    @GuusDeBruyn 3 ปีที่แล้ว

    Do you by any chance know how to upload image files to the firebase storage using the rest api? Last hurdle I have to get past in my project, really can't navigate the documentation

  • @GuusDeBruyn
    @GuusDeBruyn 3 ปีที่แล้ว

    hey thank you for the great tutorial! I was wondering where the id goes after you update/patch a record from the database? is there a way so that you could always see it?

    • @EbenezerDon
      @EbenezerDon  3 ปีที่แล้ว

      Thanks for watching! I'm not sure I understand the question, but as long as you don't update the id field, it's always going to be there. When you update/patch fields in a collection, only those fields are updated.

    • @GuusDeBruyn
      @GuusDeBruyn 3 ปีที่แล้ว

      @@EbenezerDon yes thank you! I apologize for my bad wording :)
      Will you be doing a video on firebase user & admin authentication using an API?

    • @EbenezerDon
      @EbenezerDon  3 ปีที่แล้ว

      @@GuusDeBruyn I've been planning to create this for a while, but I've not gotten the motivation yet.
      I just made this repository public, where I implemented authentication with Firebase. You can have a look here: github.com/ebenezerdon/firebase-diary-api

    • @GuusDeBruyn
      @GuusDeBruyn 3 ปีที่แล้ว

      @@EbenezerDon thank you! you just saved my school project :)

  • @uivideos
    @uivideos 3 ปีที่แล้ว

    how do i get rid of /app ?

  • @orofinadedamola4008
    @orofinadedamola4008 3 ปีที่แล้ว

    A quick question, I started the project with yarn, and installed dependencies with yarn. Initializing on my terminal, I got the option to add dependencies with npm and knowing it's not advisable to use npm and yarn on same project, I selected NO, tried deploying but I got "Error starting with non zero exit code". Would appreciate any help with this

    • @EbenezerDon
      @EbenezerDon  3 ปีที่แล้ว

      Hey man, there's probably a specific error message when you scroll up the error log. Can you send me a screenshot?

    • @orofinadedamola4008
      @orofinadedamola4008 3 ปีที่แล้ว

      @@EbenezerDon thanks I fixed it. I read through the error messages and turns out I wasn't running the yarn deploy from the functions folder...

  • @rukewveofobrukweta7939
    @rukewveofobrukweta7939 4 ปีที่แล้ว

    Love this

  • @JocheMonthez
    @JocheMonthez 3 ปีที่แล้ว

    i have an error while doing the deployment. "Error: Error occurred while parsing your function triggers.
    TypeError: Cannot read property 'key' of undefined. do you know why?

    • @EbenezerDon
      @EbenezerDon  3 ปีที่แล้ว +1

      Hi Jose, can you try updating your Firebase environment variables again?

    • @JocheMonthez
      @JocheMonthez 3 ปีที่แล้ว +1

      @@EbenezerDon I could correct the error. I had a mistake when placing the Private.Key authentication. Thank you! Saludos desde Colombia 🇨🇴

    • @EbenezerDon
      @EbenezerDon  3 ปีที่แล้ว +1

      @@JocheMonthez Awesome :)

  • @leocrawf
    @leocrawf 3 ปีที่แล้ว

    Very good tutorial. Could you just add the authentication to it. That would make it perfect.

    • @EbenezerDon
      @EbenezerDon  3 ปีที่แล้ว

      Thanks, Leocrawf. I'll be creating the video on Firebase authentication soon.

  • @canaldomonstro1112
    @canaldomonstro1112 3 ปีที่แล้ว

    only 6.266 view ? wtf ?

  • @Jliuify
    @Jliuify 4 ปีที่แล้ว

    best video. I ran this locally with the emulator instead.
    in firebase.ts
    ```
    admin.initializeApp({
    credential: admin.credential.applicationDefault(),
    databaseURL: 'localhost:5010' //

    • @EbenezerDon
      @EbenezerDon  4 ปีที่แล้ว

      Nice! The local emulator is much faster for development.