This repository was used in conjunction with a conference session at All Things Open. All Things Open is an amazing tech conference located in Raleigh, NC focused on open-source code, hardware, and community.
This application contains a Lerna monorepo. Within the repository there is a single shared API Gateway and three example services. All items are configured and deployed to AWS with Serverless.
A CI/CD pipeline is configured using github actions. Each github branch deploys a new deployment stage for testing purposes. The stage will follow the same name as the git branch. Master will represent production and utilize the stage "prod".
With the exception of master/production deployments will be removed and deleted when a branch is deleted.
CI/CD Service
Other
- Lerna
- Prettier
- Serverless
This repository uses lerna and yarn workspaces to handle dependencies.
The API Gateway sits under gateway/
.
The Serverless services sit under services/
.
Install Dependencies
npm install
Development environment
npm deploy:dev # deploys services
Production environment
npm deploy:dev # deploys services
npm test