Skip to content

YoshiyukiKato/sls-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sls-todo

Sample of Serverless Framework + Express.

prerequiste

  • configured aws-cli (ACCESS_KEY and SECRET)
  • signed up to serverless.com
$ npm install -g serverless
$ sls login

usage

setup

$ git clone https://github.com/YoshiyukiKato/sls-todo.git
$ cd sls-todo && npm install
$ sls dynamodb install
$ sls dynamodb start

And then, run in local.

$ sls offline

deploy

Deploy to AWS. Before deploy, please set an environment variable DYNAMO_ACCESS_ROLE.

$ sls deploy

remove

Remove from AWS

$ sls remove

About

Serverless Framework + Expressのサンプル

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published