https://github.com/lukasz-kaniowski/finance-monkey
Scrapper for hl.co.uk deployed using apex and serverless architecture
https://github.com/lukasz-kaniowski/finance-monkey
alexa-skill apex aws-lambda dynamodb dynamodb-local
Last synced: 3 months ago
JSON representation
Scrapper for hl.co.uk deployed using apex and serverless architecture
- Host: GitHub
- URL: https://github.com/lukasz-kaniowski/finance-monkey
- Owner: lukasz-kaniowski
- Created: 2016-08-22T20:33:32.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-24T11:16:48.000Z (about 8 years ago)
- Last Synced: 2025-02-14T12:38:44.597Z (4 months ago)
- Topics: alexa-skill, apex, aws-lambda, dynamodb, dynamodb-local
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
[](https://travis-ci.org/lukasz-kaniowski/finance-monkey)
## Infrastructure
Apex is using terraform under the cover.
$ apex infra plan
$ apex infra apply## Deploy
$ ./build.sh
$ apex deploy --env-file env.json
Where `env.json` should look like this:{
"password": "your-password",
"username": "your-username",
"dob": "your-date-of-birth"
}
To test if deployment was successful$ apex invoke hlScrapper
$ apex logs
## TestingStart [dynamodb local][dynamodb local]
$ docker run -d -p 8000:8000 dwmkerr/dynamodb
Run tests
$ npm test## Alexa
Alexa lambda function requires *Alexa Skills Kit* trigger to be added.
This need to be done manually on aws console.
In [amazon developer console] configure alexa skill1. Point to alexa lambda function
2. Copy intent
```json
{
"intents": [
{
"intent": "portfolio"
}
]
}
```
3. Copy utterances, ie.
```text
portfolio today
portfolio about today
portfolio about status
portfolio status
```
[amazon developer console]: https://developer.amazon.com
[dynamodb local]: https://aws.amazon.com/blogs/aws/dynamodb-local-for-desktop-development/