devinoue / serverless-typescript-boilerplate

AWS Lambda, DynamoDB, Serverless Framework, TypeScript, ESLint, Pretter and Jest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

about

AWS Lambda Functionの(自分向けの)TypeScriptボイラープレートです。

functionsディレクトリ中にルーティングするように作られています。 DynamoDB系のサンプルファイルも入っています。

.env.example系のファイルが2つあるので、.exampleを消してからご使用ください(.env系のファイルはデフォルトで.gitignoreしています)

DynamoDB Localも使用して、ローカル環境開発をまとめています。

Installed

  • Webpack
  • Serverless offline
  • Serverless Dynamo-local
  • ESLint
  • Pretter
  • Jest-ts

Install

> yarn
> sls dynamodb install

offline

> sls offline

Development

> sls deploy

Production

> sls deploy --env production

About

AWS Lambda, DynamoDB, Serverless Framework, TypeScript, ESLint, Pretter and Jest


Languages

Language:JavaScript 57.3%Language:TypeScript 42.7%