Skip to content

An AWS Lambda starter using Claudia.js, Node.js, and Express.js. Written in TypeScript!

Notifications You must be signed in to change notification settings

EricMarcantonio/lambda-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Lambda Starting Template 🌩️

Includes:

node.js

claudia.js

express.js

typescript

Usage:

  1. To get started, you need to create a role for Claudia.js to use. This IAM User needs to have IAMFullAccess, AmazonAPIGatewayAdministrator and AWSLambda_FullAccess policies. When you are creating the new role, take note of the aws_access_key_id and aws_secret_access_key.

  2. Create a .env file in the root of the project.

aws_access_key_id=<access_key_id>
aws_secret_access_key=<secret>
  1. npm install
  2. npm run generate
  3. npm run aws:create

This will create a lambda.js file in the root of the project. This is how claudia.js works with AWS. Just leave this file.

It will also create a claudia.json file, which contains your file.

To Update:

  1. npm run aws:update
  2. Done! ✅

PLEASE EDIT .gitignore to suit your needs!

About

An AWS Lambda starter using Claudia.js, Node.js, and Express.js. Written in TypeScript!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published