Coder Social home page Coder Social logo

sls-appsync-sample's Introduction

Serverless AppSync 構築サンプル

環境

  • node 16.15.1 (via nodenv)
  • serverless
  • その他、各種プラグインの依存ライブラリ

setup

# 依存ライブラリのインストール

npm i 

# dynamodb localのセットアップ
npx sls dynamodb install

起動方法

# local
sls offline start --stage local

# deploy
sls deploy --stage dev

構成

TODO

  • テストの追加→参考資料1
  • 本番デプロイ用アカウントの分離→参考資料1
  • ddbの名前をすべて Resources からの参照にする
  • Lambda Resolver の追加
  • 長くなったservereless.tsの分割
  • serverless template 化
  • lambda functionを利用しない場合、消す

参考資料

  1. Effective AppSync 〜 Serverless Framework を使用した AppSync の実践的な開発方法とテスト戦略 〜
  2. serverless-appsync-plugin example
  3. Serverless Framework + TypeScriptでAppSync環境を構築する

sls-appsync-sample's People

Contributors

wtkmn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.