Cybolic / phonefind

Just a simple demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample project to demonstrate SMS Verification and user details editing

Netlify Status

This is a sample project to demonstrate Firebase SMS Verification and Cloud Firestore access using Netlify functions. It is built using Angular and uses Netlify Functions with Firebase and a sprinkle of Sass.

To set up this project with Netlify, please make sure you have the following environment variables defined:

  • firebase: Your Firebase config object, as a JSON string
  • firebase_admin: Your Firebase Admin / service account config object, as a JSON string
  • firebase_db_url: The name of your Cloud Firestore database (e.g. phonefind-1337o)

Then run the following to start a locally instanced version of the Functions and the Angular frontend:

netlify dev

If you wish to run just the Angular part of this code-base, you'll need to put your Firebase config object in the src/environments/environment.ts file as the firebase property. On Netlify, this is done automatically by the included Makefile.

To run the project without the Netlify Functions, run:

ng serve

About

Just a simple demo


Languages

Language:TypeScript 73.6%Language:SCSS 11.6%Language:HTML 9.5%Language:JavaScript 4.2%Language:Makefile 1.1%