Firebase Functions - Data Validation

Pubblicato il: 19 settembre 2020
sul canale di: 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/...


In questa pagina del sito puoi guardare il video online Firebase Functions - Data Validation della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Diligent Dev 19 settembre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 5,582 volte e gli è piaciuto 113 spettatori. Buona visione!