A Node JS project that depicts how to use Reloadly's Node JS SDK
- Clone this repository
- Install dependencies via NPM or Yarn
- Install Reloadly's Node JS SDK - see steps on how to do that here
- In
token.js
,balance.js
andtopup.js
, replace the existing client credentials with your Reloadly client credentials. N.B: Your credentials are sensitive and should not be exposed - To make a top-up, replace the existing mobile number in the
topup.js
file with your mobile number and run the app via thenpm start
ornpm watch
command