Skip to content

Common code used across (almost) all the LeapDAO's AWS Lambdas

License

Notifications You must be signed in to change notification settings

leapdao/leap-lambda-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Lambda boilerplate

Prerequisites

  • Node.js 8+
  • Yarn

Usage

  • git clone --origin boilerplate https://github.com/leapdao/leap-lambda-boilerplate.git <your-project-name>
  • cd <your-project-name> && git remote add origin [email protected]:leapdao/<your-project-name>.git
  • change name in package.json
  • yarn
  • Enjoy :-)

Tests

Jest used for unit-testing. Put your test file near module that you want to test. For example, for src/cool-module.js you should create a file src/cool-module.test.js.

  • yarn test — run tests
  • yarn test:watch — run tests in watch mode

About

Common code used across (almost) all the LeapDAO's AWS Lambdas

Resources

License

Stars

Watchers

Forks

Packages

No packages published