Node.js with AWS Lambda Developer

The task is to create an AWS Lambda function written in Javascript, that receives an XML file

representing a message between two people. And generates a new XML file with the sender

and recipient names swapped.

We would like you to invoke this AWS Lambda function from a node.js application which is

designed to monitor and create files on the local filesystem.

You will therefore need to develop two seperate pieces of software:

1. A node.js app that reads data from a file, and communicates to AWS Lambda

2. An AWS Lambda function that processes and parses XML data.

AWS Lambda function

Your AWS Lambda function will take a message, and generate a response message. To do

this, it should do the following:

● Take XML data as input.

● Parse this XML file, looking for the XML nodes “from” and “to”, which are child nodes of

the XML node “message”.

● Read the value of these two nodes, and swap them around (so the value of “from”

becomes the value of “to” and vice-versa).

● Return this new XML data.

Please do consider how you might validate the data and handle error cases.

An example of the XML data is provided in the next section.

Node.js app

You should create a very simple Node.js app which reads an XML file from the local machine.

This file can be called “[login to view URL]” and should contain the following:

<?xml version="1.0" encoding="UTF-8"?>




<body>How are you?</body>


This node.js application should do the following:

● Detect when an XML file has been added or updated within a specific folder in the local


● Read the XML from the local filesystem

● Submit the XML data to your AWS Lambda function

● Save the response XML data into a new file

You should expect the new XML file to look as follows:

<?xml version="1.0" encoding="UTF-8"?>




<body>How are you?</body>


Please note the node.js application is not intended to operate as a REST server (using express,

etc.), it simply needs to run constantly and monitor the presence of a new XML file, processing

any new file found.

Skills: node.js, Amazon Web Services, JavaScript, Socket IO

See more: aws lambda node.js tutorial, aws-lambda-node js-example-project, aws lambda node tutorial, aws lambda local development node js, aws lambda event, aws lambda node version, aws lambda node.js example, node js lambda function example, freelance node js developer, node js freelance developer, hire node js developer, node js developer, node js developer needed, remote node js developer, aws node.js s3 example, backend javascript developer meteor node js ukraine, developer freelancer node js, freelance node js developer in bangalore, freelance node js developer lima peru, freelance node js developer rates

About the Employer:
( 6 reviews ) Rajkot, India

Project ID: #21128174

5 freelancers are bidding on average $25 for this job


***AWS Expert*** Hi, Hope you are doing great !! I have major work experience in Server Administration and Project Management. AWS Services : EC2, S3, RDS, CloudFront and many more.I provide all kinds of solution rela More

$30 USD in 2 days
(43 Reviews)

Hello, I have read the project specifications furnished by you. I will assist you in the development of the website platform. Here a bit about myself. I'm a full-stack developer experience of 10+ years. I worked on More

$20 USD in 7 days
(2 Reviews)

what platform (Windows, Mac, Linux) Node.js app . will run on? I'm ready to make make this project - I do have AWS account for testing

$25 USD in 7 days
(1 Review)

We already have the two components required for this project - 1) monitor S3 bucket for a new file and invoke Lambda function, 2) Javascript code to swap two elements of XML. We are AWS Registered Partner. This solutio More

$20 USD in 2 days
(1 Review)

Hi, hire me because i may not have a professional skill but i am a fast learner and willing to work.

$30 USD in 1 day
(0 Reviews)