⚡️ serverless appsync offline template ⚡️
A Serverless Framework template that allows you to launch an AppSync emulator locally and proceed with development. Lambda Function build by TypeScript/Webpack.
Template features:
serverless create by this template
$ serverless create --template-url https://github.com/daisuke-awaji/serverless-appsync-offline-typescript-template --path myService
$ yarn install
To run serverless offline, you need DynamoDB local.
Install dynamodb local .jar files
$ sls dynamodb install
$ sls offline start
Locally launch the AppSync emulator and run a test to send a GraphQL request. When the test is complete, the emulator will stop automatically.
$ yarn ci