Completed

Node.js with AWS Lambda Developer -- 2

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"?>

<message>

<to>Chirag</to>

<from>Jay</from>

<body>How are you?</body>

</message>

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

filesystem

● 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"?>

<message>

<to>Jay</to>

<from>Chiragf</from>

<body>How are you?</body>

</message>

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: Amazon Web Services, Javascript, node.js, Socket IO

See more: freelance node js developer, node js freelance developer, hire node js developer, aws lambda node.js tutorial, aws-lambda-node js-example-project, aws lambda node tutorial, aws lambda event object, aws lambda local development node js, aws lambda node version, aws lambda node.js example, node js lambda function example, node js developer, node js developer needed, remote node js developer, aws node.js s3 example, backend javascript developer meteor node js ukraine, cannot run program c users leila appdata local android sdk tools android bat createprocess error 2 the system cannot find the fi, developer freelancer node js, freelance node js developer in bangalore, freelance node js developer lima peru

About the Employer:
( 5 reviews ) Rajkot, India

Project ID: #21128510

Awarded to:

dernakovvv

Hello! I'm an expert in node js. Ready to implement both parts of requested software. I can deliver the result today

$50 USD in 1 day
(0 Reviews)
0.0

7 freelancers are bidding on average $95 for this job

arifjaunpur

Hello, I have experience in NodeJS & AWS Lambda and I can help you to implement both NodeJS program as you mentioned. Let me know when we can discuss. I am Sr. full stack developer & DevOps with 6+ years of experienc More

$100 USD in 2 days
(125 Reviews)
6.9
sayansaha986

Hi, I can develop the both application using Nodejs with the help of lambda function as per your requirement. let's have a chat to discuss further on this project. I can complete this project within a day. Thanks, Sa More

$60 USD in 1 day
(26 Reviews)
4.8
SmithZhang

Hello I am a senior website developer and I have many experienced for +7 years,. My skills are PHP , HTML, CSS , Javascript, Python, Nodejs, React.js. So I can do your project and I will start work immediately. Please More

$149 USD in 5 days
(18 Reviews)
4.5
HamzaJaved2080

Hello Sir/Mam, I am a web developer having industry experience of more then 3 years in web development working on small to complex systems and deploy them. I have strong working experience with AWS lambda. I have Full More

$100 USD in 7 days
(1 Review)
2.4
vishaldhanwan

I can do web programming in php ,WordPress customization integrate plugin of WordPress and themes and codeigniter. [login to view URL] [login to view URL] 3.Html-5 4.CSS-3 [login to view URL] [login to view URL] Layouts [login to view URL] PHP 8.Codeigniter. 9.L More

$150 USD in 10 days
(1 Review)
0.4
Mehta94

I am AWS Certified Solution Architect Associate. I worked on AWS Lambda and API Gateway in node.js.

$55 USD in 1 day
(0 Reviews)
0.0