This application can track your binance wallet and sent notification if a specific asset market price goes up or down more than 10%
- Create Binance API key & secret key
- To read your wallet data, you need to create biniance key & secret 'read only is fine', you can follow [this toutorial](https://www.binance.com/en/support/faq/360002502072) to have it
- Save api key and secret to your `.env` file, same like `.env.example` shows
- Create google chat webhook url
- To sent a notification to you when prices changes, you need to create google chat webhook url using [this documentation](https://developers.google.com/chat/how-tos/webhooks)
- Save webhook url to your `.env` file, same like `.env.example` shows
- Create mongoDB
- We need to store the data in DB to, you can get free tier database from mongoDb atlas and get the connection URI, following [this link](https://www.mongodb.com/cloud/atlas/lp/try2)
- Save mongoDB connection URI to your `.env` file, same like `.env.example` shows
-
Run the app
npm install
npm run main
As the image above I have depend on only 3 components on GCP, you can fellow this articale to do it
I'm usuing github flows to do that
- Fork this repo
- Update
.github/workflows/google.yml#L36
with your function name - Add secrets to your github repo like this
- you can find needed secrets in
.github/workflows/google.yml