https://github.com/bgdsh/serverless-csv-parser
https://github.com/bgdsh/serverless-csv-parser
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bgdsh/serverless-csv-parser
- Owner: bgdsh
- Created: 2020-09-01T15:54:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-01T15:57:13.000Z (over 5 years ago)
- Last Synced: 2025-01-30T23:41:21.064Z (11 months ago)
- Language: TypeScript
- Size: 104 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serverless CSV parser
## Features
- Lambda function can be triggered by either restful API or `s3:ObjectCreated:Put` event.
- Read and parse data from S3 in stream mode.
- Save data to DB, coordinates as the key.
- `serverless` config file describes the infrastructure as code.
- A SNS topic will be published when an error occur.
- Unit test and e2e test code.
## .env example
``` yaml
ENDPOINT=https://xxxx.execute-api.ap-northeast-2.amazonaws.com/dev/actions/parse
TABLE_NAME=geoAddress
MAX_CONTENT_LENGTH=1000
S3_BUCKET=data
```