Using the AWS Management Console:
Using Serverless CLI
:
-
https://serverless.com/framework/docs/providers/aws/cli-reference
-
https://github.com/serverless/serverless/tree/master/docs/providers/aws/cli-reference
serverless create --template aws-nodejs
serverless create --template aws-nodejs --path myService
serverless create --template-url https://github.com/serverless/serverless/tree/master/lib/plugins/create/templates/aws-nodejs --path myService
aws-nodejs
aws-nodejs-typescript
aws-nodejs-ecma-script
To generate the scaffolding for a hello world plugin that demonstrates how to create a new command and how to listen to the various events available.
serverless create --template plugin
Serverless Examples – A collection of boilerplates and examples of serverless architectures built with the Serverless Framework and AWS Lambda.
Let's see how easy it is to use GraphQL with the Serverless Framework:
Part 1: This post! GraphQL endpoints with API Gateway + AWS Lambda:
Part 2: AppSync Backend: AWS Managed GraphQL Service:
We will:
- Deploy a simple API endpoint.
- Add a DynamoDB table and two endpoints to create and retrieve a User object.
- Set up path-specific routing for more granular metrics and monitoring.
- Configure your environment for local development for a faster development experience.