Creating an API with Serverless - API Gateway and AWS Lambda

preview_player
Показать описание

In this lesson we'll learn how we can build a Lambda function that works with API Gateway to create an API.

I this video you'll learn:
- How to set up a Lambda in Serverless
- What response you need to return to work with API Gateway
- How to deploy the Lambda and API Gateway using Serverless
- How to test GET requests in the browser

Рекомендации по теме
Комментарии
Автор

Great tutorial- thank you so much!

Updating this to latest:
provider:
...
httpApi:
cors: true

functions:
getUser:
handler: lambdas/getUser.handler
events:
- httpApi:
method: GET
path: /get-user/{ID}

johnbarker
Автор

Great simple and clear.. that is what I was looking for, tutorials that go straight to the point .. thank you

yisellrodriguezleiva
Автор

the bestttt video series ever for js developers!! thank you!

AmruAshik
Автор

Great training videos series! I'm currently studying for developer associate and this is helping cement the concepts.

stefan
Автор

These are amazing tutorials. You should consider opening a course on Udemy. You are way better than those AWS Udemy instructors.

shadmanmartinpiyal
Автор

Thank you for the video. It didn't show me a link to check this function. Where can I find my link?

РомаСамуйлов-ъу
Автор

Thank you so much for this guide. I did everything the way you teach but I have a problem because when I go into endpoint I have an error {"message": "Internal server error"} - How to fix this ??

eespxtra
Автор

Hi, Excellent tutorial. I need help to identify the problem why I'm getting a 502 in the browser when I try to run the API. serverless deploy worked fine. Thank you.

fmolinariUtube
Автор

Wow man! Thats really helpful, I really appreciate your effort what you're putting...Thanks a lot!

muzammalabdulghafoor
Автор

This is fantastic. But is the a specific reason why you chose to use Require.JS rather than ES6 modules? Anyway, thanks and keep 'em coming.

alexgochenour
Автор

Thank you thank you thank you very much sir for this video

letsgodevs
Автор

Hi Sam,
I noticed I had to comment all the lines inside DemoBucketUpload when I tried to run "sls deploy" command because of this error :
An error occurred: NewResource - mynewbucketwithserveless-1927 already exists.
After that, it works!
( You can see this section in this video at 10:36 )

josejaimes
Автор

Thank you very much for this amazing video!

MK-Turtles
Автор

hello, this is a great tutorial by the way!!! I have two quick questions which I wish you could demonstrate in the video as well, was
1. How do you invoke the message, {message: "missing the ID from the path"} and
2. how do you access 'event' which you console logged from the editor?
Thanks!!!

sungjun
Автор

Awesome video!

I was wonder, do you prefer working with js or typescript?

adisilagy
Автор

Great video, do you know an example of applying idempotency to the api to avoid repeated requests?

andresm
Автор

Sir I did upto deployment....after i'm open the url and it show "Missing Authentication Token"

HariHaran-nfky
Автор

Excellent video !
Could you make video on how building a deployment package using serverless and python?

AhmedBesbes
Автор

I believe the response object in API Gateway has changed;
status -> statusCode
now we have a property isBase64Encoded that we can set to false

sedatcanyalcn
Автор

Whenever I deploy and open the url I get an internal server error how do we fix it ?

marwanehamdani
welcome to shbcf.ru