Skip to content

Loading the contents of a CSV file into an S3 bucket and triggering a Lambda function that stores it in DynamoDB

License

Notifications You must be signed in to change notification settings

jhonywalkeer/s3-trigger

Repository files navigation

This project involves the AWS stack where it works on adding static data to the database by loading the contents of a CSV file into an S3 bucket and triggering a Lambda function that stores it in DynamoDB. Although CSV seems biblically old, it is still often used in IT projects to exchange data or import from one data store to another.

Architecture

Study

Technologies

Language Framework/Superset Framework/Superset Database
Node.js Typescript Serveless DynamoDB

In addition to the following dependencies:

  • AWS Lambda - Command line tool deploy code to AWS Lambda.
  • AWS SDK - The version 3.x of the AWS SDK for JavaScript is generally available
  • Dotenv Safe - Identical to dotenv, but ensures that all necessary environment variables are defined after reading from .env. These needed variables are read from .env.example, which should be commited along with your project.
  • Source Map Support - This module provides source map support for stack traces in node via the V8 stack trace API. It uses the source-map module to replace the paths and line numbers of source-mapped files with their original paths and line numbers
  • TypeDI - Is a dependency injection tool for TypeScript and JavaScript. With it you can build well-structured and easily testable applications in Node or in the browser.
  • Winston - A logger for just about everything.
  • Winston Cloudwatch - Send logs to Amazon Cloudwatch using Winston.

License

The MIT license, also called the X license or the X11 license, is a computer program license created by the Massachusetts Institute of Technology. It is a permissive license used in both free software and proprietary software.

About

Loading the contents of a CSV file into an S3 bucket and triggering a Lambda function that stores it in DynamoDB

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages