Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/serverless/examples
/ handler.js
File
handler.js
aws-node-rest-api-mongodb/handler.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
mongoose = require(
'mongoose'
);
2
const
Promise = require(
'bluebird'
);
3
const
validator = require(
'validator'
);
4
const
UserModel = require(
'./model/User.js'
);
Callers
nothing calls this directly
Calls
4
find
Method · 0.80
createErrorResponse
Function · 0.70
dbConnectAndExecute
Function · 0.70
save
Method · 0.45
Tested by
no test coverage detected