1.6.4 • Published 6 years ago

cca-scripts v1.6.4

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

create-cloud-api

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.

How does it work

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.

Try It

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.

How To

Read the full user guide.

Here's some topic selection:

1.6.4

6 years ago

1.6.3

6 years ago

1.6.2

6 years ago

1.6.1

6 years ago

1.6.0

6 years ago

1.5.0

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago