Skip to content
This repository has been archived by the owner on May 2, 2019. It is now read-only.

ACloudGuru/generator-serverless-service

Repository files navigation

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

A scaffold for a nodejs Serverless service

Prerequisites

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

Installation

npm install -g generator-serverless-service

Usage

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
|_ README.md
|_ package.json
|_ serverless.yml  // configure your serverless service

License

MIT © A Cloud Guru

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published