• Pricing
© 2025 Serverless, Inc. All rights reserved.
Terms of ServicePrivacy Policy
daisuke-awaji

Serverless AppSync offline TypeScript with CircleCI

by

A Serverless Framework template that allows you to launch an AppSync emulator locally and proceed with development. Lambda Function build by TypeScript/Webpack.

  1. Serverless AppSync offline TypeScript with CircleCI

serverless-appsync-offline-typescript-template

serverless CircleCI

img

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:

  • AppSync Simulator built with serverless-appsync-plugin.
  • Lambda Function written by TypeScript/Webpack.
  • Localhosting functions with Serverless Offline.
  • Unit testing example for VTL templates.
  • Integrate testing example for AppSync Graphql Requests.
  • CircleCI support.

Usage

serverless create by this template

$ serverless create --template-url https://github.com/daisuke-awaji/serverless-appsync-offline-typescript-template --path myService

Install

$ yarn install

Setup

To run serverless offline, you need DynamoDB local. Install dynamodb local .jar files

$ sls dynamodb install

Development

$ sls offline start

Test

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

Contents

  • serverless-appsync-offline-typescript-template
  • Usage
  • Install
  • Setup
  • Development
  • Test

Related

GuidesPluginsExamplesSlack CommunitySupport