Final project for Alura LevelUp! at PagoNxt.
This is an ecommerce with three microservices, accounts, anti-fraud and transactions.
- Accounts holds users data, including payment, address and login info.
- Transactions holds all transaction flow and communicates with both accounts and anti-fraud during it's process.
- Anti-fraud is where a human verification happens when a transaction value is greater or equal to 50% of an user montly income.
- Clone the repository:
git clone https://github.com/chatCPV/ecomm-cpv.git
- Install dependencies in root to install eslint:
npm i
- Install dependencies on each repository:
# move into the repository:
cd .\<repository>
# then:
npm i
- Deploy the containers:
docker-compose up --build