User authenticate with aws lambda, serverless, cognito and mongodb

I need a boilerplate with AWS Node.js Lambda, AWS Cognito, JWT, MongoDB, Cloudformation for user authentication and authorization