UPDATE REST API using Serverless Framework/AWS/Nodejs6.10/Javascript
$15000-125000 CLP
ที่ทำเสร็จแล้ว
โพสต์ มากกว่า 6 ปีที่ผ่านมา
$15000-125000 CLP
ชำระเงินเมื่อส่งงาน
Hi,
I need a rest api to update some data on a dynamoDB, I'm using serverless framework to deploy on AWS lambda/api gateway using nodejs 6.10, only need the UPDATE call for the info params. Also I need the Unit test.
1. Data Base structure:
The Primary partition key is: room (String)
The Primary sort key is: recordingID (Number)
The info object contains the following params:
"info": {
"M": {
"date": {"S": "2013-05-29"},
"description": {"S": "description text "},
"hour": {"S": "11:12:50"},
"public": {"N": "1"},
"speaker-about": {"S": "speaker-about Text"},
"speaker-image": {"S": "speaker-image-link"},
"speaker-link": {"S": "speaker-link"},
"speaker-name": {"S": "speaker-name"},
"title": {"S": "title"}
}
}
2. The API must validate input data using this criteria:
"date": date in the following format: YYYY-MM-DD: 2017-10-29
"description": this is a plain text, no html allowed.
"hour": the format is HH:MM:SS like23:12:50
"public" boolean
"speaker-about": plain text, no html allowed.
"speaker-image": link with https (no http allowed)
"speaker-link": link may have http or https
"speaker-name": plain text, no html allowed.
"title" plain text, no html allowed.
*in the case of "plain text, no html allowed" i'm not sure if just fail the request with 400 when the payload cames with html tags or eliminates the html tag and save the text. what do you recommend?
3. Only one entry point
Using only one entry point the API must update only the provided params on the payload, I mean, if in the payload only send info.speaker-name this must validate it and update only this data, in the other way, if the payload send more params or all (ex. speaker-name,speaker-link, etc) is must process it too.
4. Other stuff
- I created a github project to manage this project: [login to view URL]
- I prefer to use Joi for validation of JavaScript objects, but I'm open to evaluete another if you have a better one.
5. Deliverables:
- the code that process the update call.
- The unit test related to that call
Greetings!
Sure, can create a REST API to update Data in DynamoDB and also provide Unit Testing for the same as per required.
Relevant Skills and Experience
Well versed with RESTful services, Modules, HTTP methodologies.
Sound knowledge of AWS, Server less Framework, Git, API Integration.
Skilled in Node.js, HTML5, Javascript.
Proposed Milestones
$78400 CLP - Tentative cost
Looking forward to your reply,
Regards.
We are professional Web developers , highly skilled in these technologies
WebSite development, JAVA, C#, JQuery , JavaScript , Node js , WordPress, Magento, Web Hosting Expert.
This is short description Please Contact us now for further discussion Thanks:)
i will add lambda function then add that route to api gateway. rest of the validation code and and update will remain in lambda function
Relevant Skills and Experience
I'm already working on serveless architecture where i'm using nodejs, angular, lambda, rds/mysql, for backend using express-serverless.
Proposed Milestones
$77777 CLP - after completion and verification
I have good knowledge of ionic and cordova. I am working in these from last two years. I also know HTML5 and CSS3 very well, so I can do HTML design also. I have also good knowledge of php, I have worked in core, drupal and wordpress in php language and have two years of experience in that. I have also made server side in php.
Price can be vary according to work.