artoliukkonen / sls-aws-monorepo-boilerplate

Full-stack monorepo boilerplate for Serverless Framework. Integrations to AWS, CircleCI. Codebase is TypeScript & tests with Jest.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sls-aws-monorepo-boilerplate

aka. boilerplate for Serverless Framework projects, with typescript support & monorepo approach. This boilerplate uses Lerna and Yarn Workspaces to enable easier deployments & dependency management.

CI/CD is handled by CircleCI, but it can be easily swapped. Other examples coming soon.

Setup

  • Run yarn in root. This will install all dependencies.
  • Change name in package.json to match your service
  • That's it!

Notes

  • name from the root package.json is used as a prefix for all serverless services
  • services/common project contains DynamoDB resource block for single table design, uncomment it to deploy the table
  • services/ contain all microservices (e.g. user, post, whatever)
  • frontend contains CRA app (feel free to re-init with latest versions, however remember to maintain package.json scripts

TODO

  • Provide branches for different CI/CD approaches

About

Full-stack monorepo boilerplate for Serverless Framework. Integrations to AWS, CircleCI. Codebase is TypeScript & tests with Jest.


Languages

Language:TypeScript 64.4%Language:HTML 14.5%Language:JavaScript 12.5%Language:CSS 7.9%Language:Shell 0.7%