MakerLabs ACM
index-aws.js File Reference

Serverless framework Express wrapper to make AWS Lambda behave like Google/Firebase Functions HTTPS handler for /permissions_check. More...

Detailed Description

Serverless framework Express wrapper to make AWS Lambda behave like Google/Firebase Functions HTTPS handler for /permissions_check.

Variables

/permissions_check AWS Lambda HTTPS handler exports

Re-export the Express server wrapped as an AWS Lambda-compatible handler

exports permissions_check
 Export /permissions_check AWS Lambda handler, much lower-latency than Google/Firebase Functions leading to faster tag scanning response times. More...
 
exports google_apps_script_proxy
 Export /google_apps_script_proxy AWS Lambda handler. More...
 

/permissions_check AWS Lambda HTTPS handler imports

const express = require("express")
 Express server to run Google Cloud Function handler. More...
 
const serverless = require("serverless-http")
 Express middleware to wrap (req,res) handlers as an AWS Lambda handler. More...
 
const bodyParser = require("body-parser")
 Express middleware to provide the full request body in a req.body field. More...
 
const index = require("./build/node/index.dart.js")
 (req,res)-style Dart handlers More...
 
const app = express()
 Setup Express server to run (req,res)-style Dart handlers. More...
 
app use (bodyParser.raw())
 Provide request body as raw binary Buffer. More...