Firebase Cloud Function Tutorial - REST API Part 1 | Diligent Dev

Published: 06 May 2020
on channel: Diligent Dev
89,859
1.4k

#firebase #api #restapi
In this Firebase Cloud Function tutorial, we're going to be covering how to create a REST API. Firebase is an awesome tool, but if you try to handle everything on the client through their SDK's you'll run into code quality, performance, and data security issues. To mitigate these issues, you can use their Firebase Cloud Functions to create an API quickly.

In this tutorial, we'll be creating a user management API with full CRUD capabilities. You'll also learn how to connect your Firebase Functions to a Firestore database to persist your data. Keep in mind that this is the first part of the series. In part 2, we'll refactor our API to improve the code quality and maintainability.

Timestamps
0:00 - Intro
0:24 - Setting up Firebase Project
1:22 - Installing Firebase CLI
2:40 - Initializing Firebase Functions Project
4:03 - Firebase Functions Project Overview
5:21 - How to Deploy Firebase Functions
5:54 - Using Postman to Test Firebase Functions
6:45 - Coding the REST API
8:27 - Setting Up Connection to Firestore Database
10:16 - Debugging Firebase Cloud Functions
13:12 - Fixing Linter Error

Firebase
https://firebase.google.com/

Firebase CLI
https://firebase.google.com/docs/cli

Postman
https://www.postman.com/

NodeJS
https://nodejs.org

Medium Article
  / firebase-cloud-functions-tutorial-creating...  

Git Repo
https://bitbucket.org/TheDiligentDev/...

Sound Effects by SoundBible:
http://soundbible.com/


On this page of the site you can watch the video online Firebase Cloud Function Tutorial - REST API Part 1 | Diligent Dev with a duration of hours minute second in good quality, which was uploaded by the user Diligent Dev 06 May 2020, share the link with friends and acquaintances, this video has already been watched 89,859 times on youtube and it was liked by 1.4 thousand viewers. Enjoy your viewing!