Tejusbharadwaj / faas-stonk

A sample FaaS function that gets a stock quote and 30 day history by symbol and returns a HTML page with a generates SVG sparkline.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Note: dev/run includes the build tag dev, this includes the main function file which conflicts during builds in production

Special thanks

DigitalOcean Referral Badge

About

A sample FaaS function that gets a stock quote and 30 day history by symbol and returns a HTML page with a generates SVG sparkline.


Languages

Language:Go 94.4%Language:Shell 5.6%