Serverless Bitcoin, IP, Weather API in NodeJS
Run npm install
to get started.
You need the Serverless Framework cli tool.
## Running locally:
You'll need the npm package to develop offline with serverless-offline
: npm install serverless-offline --save-dev
To run locally execute in terminal:
IS_OFFLINE=true sls offline start --stage dev
npm install serverless-offline-scheduler --save-dev
Deploying:
serverless deploy
Deploying a single function:
` serverless deploy function --function functionName
`
### Deploying
Deploying:
` serverless deploy`
Docs: docs
Description | Link |
---|---|
Cryptocurrency API KEY | cryptocurrency |
OpenWeatherMap API KEY | openweathermap |
Resources: | |
Intro | SitePoint |
Serverless Docs | AWS version |
Official examples | GH Repo |
serverless offline plugin | gh repo |
serverless authentication boilerplate | gh repo |
secured API example | gh repo |
Environment Vars | Serverless Docs |
Scheduling on Serverless | docs |
|