Adding New Data to your DynamoDB Database

  Рет қаралды 10,077

Complete Coding - Master AWS Serverless

Complete Coding - Master AWS Serverless

Күн бұрын

Пікірлер: 50
@vikasthakur910
@vikasthakur910 5 жыл бұрын
I watched many tutorials for AWS serverless on udemy and KZbin. But I found the real stuff here on your channel. Well explain and plenty of hands on . Thanks a lot making this and sharing your valuable knowledge with us.
@CompleteCoding
@CompleteCoding 5 жыл бұрын
Thanks Vikas! really glad that you find it so helpful!
@vinodshalgar
@vinodshalgar 4 жыл бұрын
exactly
@alanmangroo3656
@alanmangroo3656 4 жыл бұрын
Thank you! I have followed your tutorial to build my own Serverless API to log data from my air quality sensor.
@CompleteCoding
@CompleteCoding 4 жыл бұрын
Awesome, that sounds like a really cool project. Well done!
@wsl4532
@wsl4532 10 ай бұрын
nice tutorial of serverless programming, oorganizied, and easy to learn, good work! thank you !
@saimanish3385
@saimanish3385 4 жыл бұрын
Hello sir iam a big fan of u. I will be following ur channel for serverless tutorials. Plz make more videos on serverless offline.Most of us are facing problems with debugging the code. So plz help us all with more serverless offline videos
@CompleteCoding
@CompleteCoding 4 жыл бұрын
I'm working on a video on serverless offline debugging right now!
@adrianjason13
@adrianjason13 4 жыл бұрын
This series of DynamoDB and Lambda API content is excellent and helpful to me. Consider creating a playlist for this in order of how the whole project was completed.
@CompleteCoding
@CompleteCoding 4 жыл бұрын
Thanks Adrian, there actually is. On my channel it is the serverless framework play list
@fenixw05
@fenixw05 4 жыл бұрын
I really like the way you teach , thanks so much
@CompleteCoding
@CompleteCoding 4 жыл бұрын
Happy to hear that!
@davidbaulina3434
@davidbaulina3434 3 жыл бұрын
Great tuts. Keep up the good work!
@CompleteCoding
@CompleteCoding 3 жыл бұрын
Glad you like them!
@shadmanmartinpiyal4057
@shadmanmartinpiyal4057 3 жыл бұрын
Just amazing!!!
@CompleteCoding
@CompleteCoding 3 жыл бұрын
Thanks again
@andremelinski5620
@andremelinski5620 3 жыл бұрын
Really nice tutorial! I made some changes to get more realistic.. In post request, I removed the pathParameters and used the package uuid to generate a random ID when is a post request. With this I only use the body of the function instead of the body and the ID.
@CompleteCoding
@CompleteCoding 3 жыл бұрын
Yes using UUIDs is a great idea.
@marwanehamdani2450
@marwanehamdani2450 2 жыл бұрын
can you please share the code that you used I have the same issue
@johnbarker5686
@johnbarker5686 3 жыл бұрын
Great tutorial and series! I encountered something, in the the response parameters Content-Type header comes back looking something like this: "multipart/form-data; boundary=----WebKitFormBoundary2CeWzE6z88mA2xSh". The POST body pairs (Name, Score) are base64 has string, bookended by that "----WebKitFormBoundary2CeWzE6z88mA2xSh" string. Tried using Busboy but that got messy.
@johnbarker5686
@johnbarker5686 3 жыл бұрын
Turns out in PostMan I was adding the body key/values as form-value, not Raw JSON. Oops.
@CompleteCoding
@CompleteCoding 3 жыл бұрын
Haha I've done that so many times too. Glad you got it working
@josejaimes4965
@josejaimes4965 4 жыл бұрын
HI Sam, Thanks for sharing again. You have got the result in one shoot coding but How could I to manage any error? Could you say to me any idea because I have got and 502 Bad Gateway in Postman and I would like to fix it. I am seeing there are some console.log but where can I see them? Thanks.
@josejaimes4965
@josejaimes4965 4 жыл бұрын
Jesus! This time was thought to find the error. It was only a bad sentence written. for me. I had written "const user = JASON.parse(event.body);" instead of "const user = JSON.parse(event.body);" BTW, your videos are incredibles. Thanks!
@CompleteCoding
@CompleteCoding 4 жыл бұрын
That's a brilliant little typo. Typos can be such a pain and I still do them all the time too
@elhadjndiaye769
@elhadjndiaye769 4 жыл бұрын
Great tutorials thank you for that. How we can handle error when we write a ID which already exists in the table ? thank you again
@CompleteCoding
@CompleteCoding 4 жыл бұрын
As far as I know there is no protection again writing a new file over an existing one. If you wanted to add this to the API, you would have to check if the file exists before trying to write. If you find a file then you can decide whether to return an error or overwrite anyway.
@rakshahegde3856
@rakshahegde3856 4 жыл бұрын
Could you please do one on UPDATEITEM. Struggling with it 😟
@CompleteCoding
@CompleteCoding 4 жыл бұрын
That's a great idea. I'll add it to the list
@CompleteCoding
@CompleteCoding 4 жыл бұрын
Here you go Raksha kzbin.info/www/bejne/rX22nZuOqLqHi9E
@nielsrozeboom8852
@nielsrozeboom8852 4 жыл бұрын
Great stuff! :-)
@CompleteCoding
@CompleteCoding 4 жыл бұрын
Glad you like it
@nesravnim
@nesravnim 3 жыл бұрын
Hello kind sir, I really like the tutorial and all, can you please just tell me also the name of the VS Code theme that you are using in the video? Thank you in advance!
@CompleteCoding
@CompleteCoding 3 жыл бұрын
I use Monokai Pro. It's a paid theme but you get a few colour themes for $10. Definitely a worth while investment.
@marwanehamdani2450
@marwanehamdani2450 2 жыл бұрын
After getting the internal servor error I went to the api gateway to test it and in the logs they show me this error Lambda execution failed with status 200 due to customer function error: Cannot set property 'ID' of null. Lambda request id: aae9419b-6019-4d72-98b5-ad77643937cb. I'm stuck on it .
@CompleteCoding
@CompleteCoding 2 жыл бұрын
Somewhere in your code you'll be doing something like body.ID = 'something' The error is saying that body is not an object, but is null. Check where you get the 'body' from in your code
@marwanehamdani2450
@marwanehamdani2450 2 жыл бұрын
@@CompleteCoding the line of let id = event.pathParameter.ID is the one that returns null I don't know how to deal with it I've tried the uuid but I don't know how to use it
@CompleteCoding
@CompleteCoding 2 жыл бұрын
​@@marwanehamdani2450I don't think that;s the line. That error would be "Cannot read property 'ID' of undefined" Your error specifically says "Cannot set property". What do you use that id for?
@marwanehamdani2450
@marwanehamdani2450 2 жыл бұрын
I did the same code and when I commented the line of user.ID = ID I got a succes but of course it couldn't find the ID I have to check another method instead of pathparameters I gues
@marwanehamdani2450
@marwanehamdani2450 2 жыл бұрын
@Complete Coding can you please show us with uuid method ...
@devprakash5320
@devprakash5320 3 жыл бұрын
smashed that like button
@CompleteCoding
@CompleteCoding 3 жыл бұрын
Thanks!
@marceloosorio525
@marceloosorio525 4 жыл бұрын
Well for newbies it isnt a good video... you didnt explain the tools, how you setup the environment... just paste a code ..... and "automagically" everything is working.... probably is a good video for people that already knows the 1st part... anyway thanks for share it...
@CompleteCoding
@CompleteCoding 4 жыл бұрын
Thanks for the feedback Marcelo. This video is part of a longer series on Serverless where I go from setting up Serverless and AWS, create the repo and build everything that you see at the start of the video. I can see how jumping in at this video might not make loads of sense. I'll try and make it clearer in the future that this is part of a series.
@eddieandress6380
@eddieandress6380 3 жыл бұрын
Hi Sam, I'm really enjoying this video series on Serverless - thanks so much for putting it together. I particularly appreciate the slow pace and bitesized nature of each video. Great work :)
@CompleteCoding
@CompleteCoding 3 жыл бұрын
Thanks Eddie. I also enjoy learning from bitesized videos. I can easily rewatch bits I need to or skip videos I already know
Adding and Getting Files from Amazon S3 with Serverless.
21:39
Complete Coding - Master AWS Serverless
Рет қаралды 15 М.
Create an API to get data from your DynamoDB Database
20:17
Complete Coding - Master AWS Serverless
Рет қаралды 23 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Create a Serverless Database - DynamoDB with the Serverless Framework
9:59
Complete Coding - Master AWS Serverless
Рет қаралды 19 М.
DynamoDB Partitions - How they work - AWS Service Deep Dive
9:29
Complete Coding - Master AWS Serverless
Рет қаралды 9 М.
Securing Your Serverless API With API Keys
14:21
Complete Coding - Master AWS Serverless
Рет қаралды 10 М.
Creating an API with Serverless - API Gateway and AWS Lambda
14:23
Complete Coding - Master AWS Serverless
Рет қаралды 31 М.
Adding DynamoDB to your AWS API with Lambda
24:39
Complete Coding - Master AWS Serverless
Рет қаралды 4,8 М.
Working with Data in DynamoDB from React with AWS Amplify - Full tutorial
43:10
Complete Coding - Master AWS Serverless
Рет қаралды 65 М.
How to Query your DynamoDB tables with Serverless
21:00
Complete Coding - Master AWS Serverless
Рет қаралды 10 М.
How to Create a WebSocket API using Amazon API Gateway and AWS Lambda - full tutorial
44:14
Complete Coding - Master AWS Serverless
Рет қаралды 36 М.
Working with DynamoDB Tables - Partition Key and Sort Key - Dynamo Deep Dive
12:46
Complete Coding - Master AWS Serverless
Рет қаралды 22 М.
Adding Serverless Webpack to your Project - fix Lambda Upload Limits
10:23
Complete Coding - Master AWS Serverless
Рет қаралды 17 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН