Skip to content

rahulp959/node-boilerplate

Repository files navigation

RayRay's Node Boilerplate

Motivation

This boilerplate is designed as a super simple boilerplate to get a Node Lambda up and running using:

  • Serverless for deployment
  • Sentry for logging
  • ESLint for linting with eslint-config-airbnb-base and prettier
  • Jest for testing

How to use

  • Copy this repo, it's a template repo so it should be easy
  • Replace service name in serverless.yml and package.json
  • Go to the Repo Settings -> Secrets and insert your AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_REGION
  • Follow the steps in https://blog.sentry.io/2019/12/17/using-github-actions-to-create-sentry-releases to set the SENTRY_AUTH_TOKEN, SENTRY_ORG, SENTRY_PROJECT and SENTRY_DEPLOY_ENVIRONMENT variables

TODOs

  • Branch builds
  • Test on PR opening
  • Split workflows?
  • Auto service naming?
  • Env variables / secrets / git-crypt?

About

A boilerplate for a Serverless Node Lambda with logging, auto changelogs and other nice things

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •