Build an Authentication/Login System on AWS with React.js and a Serverless API - Part 1 (backend)

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


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

Love the vids, but the 'pw wrong' and 'username does not exist' makes me have flashbacks. Never give details on why a login doesn't work

serpent
Автор

When you said to stringfy the body because API Gateway is expecting a string...everything clicked!! I've been doing this for a couple years just because it's what you are supposed to do. It wasn't until you made that clarification that it all clicked! Thank you!

indiajackson
Автор

Nice tutorial, easily understandable, Thanks man

GamitDjRemix
Автор

Not only did I learn how to make login work, but also learned on how to structure the code for its better maintainability

manveersingh
Автор

Great work Felix Yu. Congratulations !!!

codigofacil
Автор

I hope every traffic light you encounter is green. THANK YOU SO MUCH FOR THIS!

angelsmith
Автор

Yes, verified the 10s token expires thing. It works.. Thanks for the excellent tut.

aalaka
Автор

Hey Felix, thanks for the tutorial! I don't know if I am the only one but I have been having a lot of issues setting up serverless framework and amplify lately (there is always an issue with either configuration somewhere or a bug) so I really appreciate more direct approach like this. Couple of suggestions and notes: if possible set up github repo with code, hoisting functions didn't work in some cases (this is most definitely due to handler initially being set as const and node version), for imports something like buildResponse = looks better in my opinion but this is absolutely preference and definitely build on top of this course if possible! Great work, thanks!

MentholCiC
Автор

Thanks a lot for the valuable information!! I may add the use of errorCode in response so that frontend can use internationalization. It would be great to have a logout too.

jonathanorrego
Автор

Great video, thanks for putting it together.
(I also got caught with node v16 vs v18 issue, for anyone else reading/trying this, you need to use node v16. :))

noeldolan
Автор

Bro.. Ur knowledge in aws is really great.. Really love your tutorials.. Please create a react app that uses everything.. From SQS, SES, SNS, and firehose... Would really appreciate it

SohailKhan-gudu
Автор

Thanks Felix,

This video helps me a lot. 😀

Again Thanks

gouravcarpenter
Автор

Your videos are awesome. Extra points for the voice.

Therealskythe
Автор

Hi Felix, thanks for the tutorial. How do I distribute the API Keys for my users/customers to be able to access the API from their browser? Cheers

ClaudioPallone
Автор

This is great, would you have a copy of your .zip file? I followed everything. I try my health check and it doesn't work.(Message: Internal server error). If I remove the Const* for registerService and loginService then the health check works. I'm guessing I have something not correct in the register.js and login.js files. Just want to double check. Thanks!

LessonsLearnedAmazonConnect
Автор

Can you also show role based access with example ?
User a creates image where only user a can access and user b tries to access knowing its url .

azizutkuozdemir
Автор

Felix you are really good I love this channel. How do you feel about doing this in Amplify? Will it save time or is this better? I want to build fine grained authorization apps with React and AWS in the most efficient way. This looks really good! Please do more I learn a lot from you.

khandoor
Автор

I got the cors No 'Access-Control-Allow-Origin' header is present on the requested resource. tried different ways to enable cors in api gateway but still doesn't work

baos
Автор

Hi felix I have an internal server error and I am unsure how to fix it

nicholas
Автор

do you need to npm install dotenv and aws-sdk ?

renoriandito