A scaffold for a nodejs Serverless service

Usage no npm install needed!

<script type="module">
  import generatorServerlessService from '';


generator-serverless-service NPM version Build Status Dependency Status Coverage percentage

A scaffold for a nodejs Serverless service


This project relies on Yeoman, direnv and a Node version manager.

First, install Yeoman

npm install -g yo

Second, install direnv. OSX users can install direnv using Homebrew

brew install direnv

Add the following line to your .bash_profile

eval "$(direnv hook bash)"

Third, install nvm or n

npm install -g n


npm install -g generator-serverless-service


yo serverless-service:aws-nodejs

Project Stucture

|_ src
  |_ index.js      // put handlers here
  |_ index.test.js // jest tests
  |_ package.json  // save lambda dependencies here
|_ .editorconfig
|_ .eslintignore
|_ .eslintrc.yml   // eslint config
|_ .gitignore
|_ .node-version   // set node version to 6.10.2
|_ .travis.yml     // deploy project with travis
|_ package.json
|_ serverless.yml  // configure your serverless service


MIT © A Cloud Guru