/hello-csv

Hello CSV!

Primary LanguageJavaScript

Hello CSV

The backlog is as folows:

  1. Read the file (sample.csv).
  2. Parse the loaded csv.
  3. For each line do transfomation for first_name and last_name into full_name, hence we'll have full_name for each line.
  4. Send the transformed line via SMS. (see helper.js)
  5. Log the SMS sending status result to S3. (see helper.js)

Discussion

Constraint: Please use async API only e.g. fs.readFile NOT fs.readFileSync for reading files.

Note: The sendSms and logToS3 have surprises, please deal with that.

Ah, yes, one last thing, please use http://jscs.info/ to make your code consistent.

Have fun!