Install Dependencies
npm install
npx lerna bootstrap
CI/CD is setup for 2 different environments: qa
(qa), prod
(for production).
- common
- users
- app
Nodejs (em versão pelo menos version 11)
ARNS da AWS awscli
Instalada e configurada: https://aws.amazon.com/getting-started/
CircleCI Conta
Serverless CLI
This repository uses [lerna] (https://lernajs.io/) and the yarn workspace to manage its dependencies.
All of our services must be inside the services /
folder.
If necessary, you can leave codes used in multiple microservices in services / common /
.
Javascript must be used in all services.
Configuration file in '.env'.
Configure your AWS credentials in "enviroment variables"(circleci). To run the build, just create or commit something To run the deploy to 'QA' just commit to the master. To run the deploy to 'PROD' just create a TAG or release.
npm test
npm coverage