Skip to content

Instantly share code, notes, and snippets.

@B-PRAVEEN
Created September 7, 2019 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save B-PRAVEEN/204173e82ffcc976949816a60eef0c3e to your computer and use it in GitHub Desktop.
Save B-PRAVEEN/204173e82ffcc976949816a60eef0c3e to your computer and use it in GitHub Desktop.
var functions = require('firebase-functions');
var express = require('express');
var app = express();
var router = express.Router();
router.post('/register', registerFunction);
router.post('/verify', verifyFunction);
app.use('/fns', router);
exports.fns = functions.https.onRequest(app);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment