I gang

UPDATE REST API using Serverless Framework/AWS/Nodejs6.10/Javascript

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: [url removed, login to view]

- 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

Færdigheder: Amazon Web Services, Javascript, node.js

Se mere: aws rest api ec2, python rest api framework, aws rest api, using rest api desktop app, rest api framework php, rest api ios framework, using oauth javascript call rest api, zend framework rest api, using rest api net desktop app, using vba access rest api, download file skydrive using rest api, create yammer app using rest api json, rest api using html css, using splunk rest api java, create rest api using, api process, amazon s3 rest api upload policy string, simple rest api php, rest api website, python rest api, python post rest api, creating rest api php, vbulletin rest api, heywatch rest api developers, list twitter followers rest api

Om arbejdsgiveren:
( 1 bedømmelse ) Chile

Projekt-ID: #15555213

Tildelt til:

$70555 CLP in 3 dage
(0 bedømmelser)
0.0

7 freelancere byder i gennemsnit $69160 for dette job

mrinal981

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 methodolog Mere

$78400 CLP in 3 dage
(5 bedømmelser)
5.3
owaishanif786

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 whe Mere

$77777 CLP in 3 dage
(9 bedømmelser)
4.0
artistixeit

””We can provide you the best solution according to your requirement””” Please check the work below: Node.Js work: [url removed, login to view] [url removed, login to view] [url removed, login to view] Dog Selling Mere

$77777 CLP in 3 dage
(1 bedømmelse)
3.4
SmartBros

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 Cont Mere

$83333 CLP in 10 dage
(7 bedømmelser)
3.4
$77777 CLP in 3 dage
(4 bedømmelser)
2.9
mraghavdeep

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, drupa Mere

$18500 CLP in 10 dage
(0 bedømmelser)
0.0