claudiajs / claudia

Deploy Node.js projects to AWS Lambda and API Gateway easily
https://claudiajs.com
MIT License
3.8k stars 274 forks source link

adding basic claudia generate #137

Closed simalexan closed 6 years ago

simalexan commented 6 years ago

Adding a new claudia command claudia generate with two additional options:

  1. hello-world - run with claudia generate hello-world Creates a hello-world.js file with a Lambda handler that responds with a simple Hello world response.

  2. api - run with claudia generate api Creates an api.js with Claudia API Builder exposing a GET /hello-world endpoint that responds with hello world. Along with the api, a package.json file is also created.

Tests are included.