Ever thought of prototyping an idea in a minimum time, e.g. running a simple webpage in the cloud where colleagues or clients can access for review.
Enter Firebase:
Create a simple ID verifier app, where customer input an Identification Document (passport, driving license), and backend will validate/reject it, and will record the result in a CRM.
Each user is unique: user validates his phone number (unique key) with SMS code, using Firebase-auth.
Validate ID: user inputs his passport, waits a few seconds then a result (OK / error) is displayed. For prototyping, our backend code (a simple Firebase-function) will fake the validation. Later we could use Jumio or Trulioo.
Record user data: user information (phone, KYC status) is recorded in an external CRM: Pipedrive.
1) Validate user phone using Firebase-auth
2) The UI snippet from FirebaseUI provides an efficient UI with captcha
3) Code is received by SMS
4) User can upload an ID for verification
5) Backend server detects ID as a fake one
6) ID is successfully verified
7) User is recorded in CRM (we could have used Firebase-database, but Pipedrive offers lots of other CRM functionalities)
I am really impressed by Firebase ease of use, hiding the complexity of infrastructure and offering services like authentication, database or storage, for free!
CI-CD is so straight forward: you just have to tell which Firebase project you want to deploy to firebase use $project
, then deploy to the cloud with firebase deploy
.
Next steps:
Thank you for reading :-) See you in the next post!