Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Les Orchard 4c983675bd Re-enable comma dangle eslint rule 2018-09-04 15:42:55 -04:00
Les Orchard b8aef660e6 Lint tweaks
Fixes #167
2018-08-31 15:29:47 -04:00
Les Orchard 8b7701a48b
Fix some issues on the dev stack, misc tweaks
- Ensure METRICS_URL gets passed to functions

- Ensure dev stack deployment has a good mock upstream service URL

- Increase bucket retention to 180 days

- Tweaks to client and README to make setting custom service URL easier
2018-06-28 15:44:38 -04:00
Les Orchard 99b6c4d1b0
Implement some loopback mock routes, simplify client usage 2018-05-14 14:47:35 -04:00
Les Orchard 2bdc758050
Implement image submission API
- Ensure AWS API Gateway can accept binary requests

- Add multipart form parsing, light input validation

- Expand options in client to include other API fields

- Increase S3 object expiry to 30 days

- Update tests

Fixes #1
2018-05-09 16:09:37 -04:00
Les Orchard f77ca8ad18
Implement Hawk authentication for accept endpoint
- Add prettier, deploy:dev, and client NPM scripts

- bin/client.js as a start on a Hawk-enabled example service client

- Rework accept endpoint function
  - Switch to POST requests
  - Enforce Hawk authentication, with hardcoded dev credential option and
    DynamoDB credentials

- Add Credentials table in DynamoDB

- Tests for Hawk in accept function

- README updates

Fixes #2
2018-05-09 16:02:19 -04:00