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/...
Auf dieser Seite können Sie das Online-Video Firebase Functions - Data Validation mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Diligent Dev 19 September 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 5,582 Mal angesehen und es wurde von 113 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!