Firebase Functions - Data Validation

Published: 19 September 2020
on channel: Diligent Dev
5,582
113

In a previous tutorial, I discussed how to create a REST API using Firebase Functions. In this tutorial, we're going to be talking about how to validate the data we pass to the REST API. Validation is extremely important for preventing malicious activity and maintaining the integrity of the data in our database.

Timestamps
0:00 - Intro
0:50 - Cloning Firebase Function REST API Project
1:40 - Firebase Project Setup
2:40 - Installing Firebase CLI
3:30 - Initializing Firebase in Project
5:01 - Firebase Function REST API Project Overview
5:25 - Express Validator Overview
6:35 - Adding Validators to the POST Request
12:20 - Deploying the Firebase Functions
12:39 - Testing the Validators with Postman
17:19 - Adding Custom Messages to the Validators

Bitbucket Starter Repo
https://bitbucket.org/TheDiligentDev/...

Firebase Functions REST API
   • Firebase Cloud Function Tutorial - RE...  

Express Validator
https://express-validator.github.io/d...

Postman
https://www.postman.com

Bitbucket Final Repo
https://bitbucket.org/TheDiligentDev/...


On this page of the site you can watch the video online Firebase Functions - Data Validation with a duration of hours minute second in good quality, which was uploaded by the user Diligent Dev 19 September 2020, share the link with friends and acquaintances, this video has already been watched 5,582 times on youtube and it was liked by 113 viewers. Enjoy your viewing!