Skip to content

Latest commit

 

History

History
 
 

hello-world

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

A trivial Node.js microservice example, that just returns "Hello World" when called. To try it out, first set up the credentials, then:

  1. run npm install to grab the dependencies
  2. run npm start to set up the lambda project under the default name on AWS
  3. run npm test to execute the lambda from the command line and print the output on the console

Check out the package.json scripts section to see how Claudia gets invoked for the start and test scripts. Check out the main.js file to see how the Lambda function works. For a bit more fun, modify the message in main.js, then run npm run deploy to deploy the code to AWS, then run the test again to see the change.