UNPKG

serverless-docker

Version:

This is a proof of concept to see if we can replicate Amazon API Gateway using docker images to run lambda

18 lines (14 loc) 294 B
'use strict' const data = require('./data') const putFunctions = (db, req, res) => { const body = req.body const functions = body.functions // TODO: validate data.putFunctions(db, functions).then(() => { res.status(200) res.send() }) } module.exports = { putFunctions, }