MCPcopy
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

1const mongoose = require('mongoose');
2const Promise = require('bluebird');
3const validator = require('validator');
4const UserModel = require('./model/User.js');

Callers

nothing calls this directly

Calls 4

findMethod · 0.80
createErrorResponseFunction · 0.70
dbConnectAndExecuteFunction · 0.70
saveMethod · 0.45

Tested by

no test coverage detected