AWS AppSync Demo
HTML-код
- Опубликовано: 12 сен 2024
- Demo of using AppSync's subscription feature to replace an inefficient polling technique on a web application dashboard.
Dashboard link: callicoresoftw...
Command to upload lambda using AWS CLI:
rm ./callicore-pubg-lambda.zip && zip -r callicore-pubg-lambda.zip . -x '*.git*' && aws s3 cp ./callicore-pubg-lambda.zip s3://callicore-pubg-lambda && aws lambda update-function-code --function-name pubgMatchesApiCount --region us-east-1 --s3-bucket callicore-pubg-lambda --s3-key callicore-pubg-lambda.zip
Loved it. It was straight forward. Crisp and clear.
Thanks, glad you liked it!
really love this tutorial, helped me a lot and AWS definitely should give you credit for making their platform easier to use!
great tutorial man
Thanks, glad you enjoyed it.
Excellent!
Thanks, glad you liked it.
Thanks for the tutorial! Could this be used to make a real-time bidding application? Kindly share your thoughs
I think AppSync would be ideal for making a real time bidding application.
Nice tutorial! Could you please let me know, if you have any solution to avoid the API keys in the front-end- to avoid the cyber issue?
I'd say the easiest solution would be to store the API key as an environment variable on the hosting server. But there are other security solutions as well. At the 7:43 mark it shows the 4 standard authentication methods for app sync client.
Great tutorial! Where did you find the url of event paths? the GET and POST urls? Thank you!
I had built those API endpoints prior to the video. They were built using the AWS API Gateway service from amazon.
@@callicoresoftware Ah.. ok. Thank you!
Why can't I find these methods in sdk doc? and is it available for python boto3?
It looks like appsync is primarily for web and mobile, but it's still possible to integrate with python. Here is a link to something I found: sammart.in/post/2020-05-17-querying-appsync-with-python/
Can you do an updated video? I think this is not working anymore
Sorry, I've moved on to other projects, and these things take time. What is the exact error you're seeing?
When Iam importing aws-appsync it is giving to many error in react application
What do some of the errors say? Did you add the aws-appsync package to your project using npm or yarn (like "yarn add aws-appsync" or "npm install aws-appsync")?
is lambda must or we can store the in app sync from anywhere?
The lambda is not necessary, it just worked well for my design. And you're not actually storing the app sync...its just an AWS service that can help you read/write from/to your database as well as subscribe to changes to your database.
@@scottmanny Thanks for the clarification.
any git link to view the code?
Sorry, the code is part of my business website, which I'd rather not share. But you should have everything you need in front of you in the video. Let me know if you have a specific question.