This project consists of below microservices
- balance: This service will check existing balance in donors wallet.
- sendcoin: This service will send request to transfer coin to other wallet.
A demo version of these services are hosted on AWS - https://pj24x5tb2a.execute-api.us-east-1.amazonaws.com/dev/balance/{cointype}
- Install the Serverless Framework
- Configure your AWS CLI It is required only if you want to deploy services to AWS.
Install the Node.js packages
$ npm installTo simulate API Gateway locally using serverless-offline
$ serverless offline startRun your tests
$ npm testDeploy this project
$ serverless deploy