Build tool to deploy ☁️ AWS powered APIs.
- 🚀 Supports AWS Cognito
- 👨💻 Use webpack to compile lambda code
- ⛷️ Generate AWS CloudFormation template
- 🚝 Generate client API SDK out of swagger definition
Inspired by react-create-app and aws-serverless-auth-reference-app.
create-cloud-api
expect you to write swagger definition for your API and lambda code. It will then generate CloudFormation template, pack & upload lambdas, and finally create a stack for you.
Make sure you have AWS CLI installed and configured (run aws configure
).
You’ll also need to have Node >= 6 on your machine.
npm install -g create-cloud-api
create-cloud-api my-app
cd my-app/
npm run deploy
To get the API url run npm run get-client-config
{
"baseUrl": "https://<api-id>.execute-api.<region>.amazonaws.com/dev",
...
}
Point your browser to <baseUrl>/greeting
.
Read the full user guide.
Here's some topic selection: