Nodejs (at least version 16)
Amazon AWS account and awscli installed and configured: https://aws.amazon.com/getting-started/
Serverless CLI
This repository uses lerna and yarn workspaces to handle dependencies.
The React frontend app sits under frontend/.
"Back-end" services sit under services/.
Typescript is used across the repository.
Install Dependencies
yarn installSetup environment file
cp -f services/monitoring-common/environment/config.example.json services/monitoring-common/environment/config.dev.json
sed -i '' 's/REGION_VALUE/us-east-1/g' services/monitoring-common/environment/config.dev.json
sed -i '' 's/ADMIN_EMAIL_VALUE/[email protected]/g' services/monitoring-common/environment/config.dev.jsonDeploy all services and frontend
yarn deployAndRunE2eTests --commitId "0000000000000000" --stage dev --forceAll trueyarn prettieryarn lintyarn testyarn coverageRemoves all services and frontend
yarn remove:all:dev