faas stonks
This uses serverless technology to get a stock quote and 30 day sparkline from Yahoo Finance.
Deployment
- Nimbella account
- Namespace with object storage enabled
- Deploy command:
nim project deploy stonks --remote-build
Note: the
--remote-build
is required to build this Go function into a binary before deploying the action.
Development
- Go 1.15 or later
- Run
dev/run
- Running at localhost:8080
Note: dev/run includes the build tag
dev
, this includes the main function file which conflicts during builds in production