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 install
To simulate API Gateway locally using serverless-offline
$ serverless offline start
Run your tests
$ npm test
Deploy this project
$ serverless deploy