Тёмный

Building an AppSync + Serverless Framework Backend | FooBar 

FooBar Serverless
Подписаться 37 тыс.
Просмотров 15 тыс.
50% 1

Lets build a fully coded appsync backend with Serverless Framework
★★ README / OPEN ME ★★
☆ SUBSCRIBE TO THIS CHANNEL: bit.ly/foobar-y...
☆ SHARE THIS VIDEO: • Building an AppSync + ...
☆☆ ABOUT THIS VIDEO ☆☆
This is the third video on the AppSync series - AppSync is the GraphQL managed service from AWS.
In this video we are going to create a fully coded AppSync backend using Serverless Framework
Github repo: github.com/mav...
Serverless appsync plugin: github.com/sid...
Serverless pseudo parameters plugin: github.com/svd...
AppSync playlist: • AWS Appsync - GraphQL
☆☆ FOLLOW ME ONLINE ☆☆
Twitter - mavi888uy - / mavi888uy
Instagram: foobar_codes
Facebook: / foobarcodes
Follow my blog at: bit.ly/foobar-blog
More info - marciavillalba.com
Check my Serverless course: bit.ly/serverle...
☆☆ ABOUT FOOBAR ☆☆
In this channel you can find mostly coding tutorials related to cloud and serverless.
In addition, I like also talking about architecture, software design, motivation and leadership.
There is a new video every Tuesday, so stay tuned :)
☆☆ SPONSORSHIP ☆☆
Does your company wants to sponsor a video? Contact me by twitter or by email (email address in the about page)
Thanks Gabrielle Marie for the lovely assets for my intro ❤️ (check her channel here: / glamsolutions )

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 37   
@michaelchambers236
@michaelchambers236 6 лет назад
Thanks for the series. Im really trying to find a tutorial that shows examples on data types and connections between the data types. All I can find is app sync 101. Is there any recommendations on a more advanced tutorial? User has comments comments have likes how do you do these advanced things in app sync??
@TheMoosaChannel
@TheMoosaChannel 5 лет назад
Have you found the tutorial on what you are looking for?
@hevo1
@hevo1 4 года назад
Love your tutorials, specially this one. Could you do one for serverless appsync with the following items: - DynamoDB integration - Object Oriented entities - Appsync generating mapping templates (it seems to do it when done manually can serveless framework do it for us?) - Real time graphql Muchas gracias !!
@asifadamsha8863
@asifadamsha8863 4 года назад
Also waiting for real time graphQL !
@potatosoup815
@potatosoup815 6 лет назад
F'me, that was fast!
@paytonj2620
@paytonj2620 6 лет назад
For anyone watching this video and wanting to get started quickly ... 1.) Download the project from the github link above or here: github.com/mavi888/sls-appsyn... 2.) Change the profile field in serverless.yml to your aws username. If you don't do this the sls deploy command will work but the aws console will not update with the new user pool. 3.) Comment out everything below the App Sync lambda role 4.) From the root directory of the project run: npm install -save serverless-appsync-plugin 5.) From the root directory of the project run: npm install -save serverless-pseudo-parameters 6.) From your root directory run: sls deploy 7.) Uncomment everything below the App Sync lambda role 8.) From your root directory run: sls deploy 9.) Watch from 9:55 - to the end of the video to get an idea of how to test.
@LondonUKMale
@LondonUKMale 4 года назад
Thank you! So helpful! Could you do a follow-on video with the plugin: serverless-appsync-offline?
@iamdhison
@iamdhison Год назад
I wan trying to follow your instructions but I am getting so many errors now. Even I cloned your project. Can you please create end to end AppSync lambda Postgresql example?
@ИванЖалдак-ю8у
@ИванЖалдак-ю8у 8 месяцев назад
You're making good videos, but please stop screaming in the beginning. I almost got a heart attack. Jeez.
@antoniotripiana2402
@antoniotripiana2402 4 года назад
Hi! Thanks for this beautiful tutorial. For anyone wanting to deploy this on a different region to us-east-1 (the default one), and deploy say, in eu-west-1, add: provider: region: eu--west-1 And in the custom parameters, change the awsRegion parameter, custom: accountId: #{AWS::AccountId} appSync: name: sls-appsync-api authenticationType: AMAZON_COGNITO_USER_POOLS userPoolConfig: awsRegion: ${self:provider.region} Last line is the important one (in the github repo it is hardcoded to us-east-1).
@dancoman8
@dancoman8 5 лет назад
How do we Create Resources(previous video) from Serverless ? Why skip to showing how to work with Lambda before showing how to do what was done in the previous video in the AWS Console but with Serverless I wonder.
@aniketkambli
@aniketkambli 4 года назад
hey i had a question, can we write the cognito configuration and appsync configuration in separate files and call them in serverless.yml
@foobar_codes
@foobar_codes 4 года назад
if you use cloudformation notation and reference it, it should work
@jfpaulini
@jfpaulini 3 года назад
you are AMAZING, but this was soooo fast.
@purushottamkunwar1251
@purushottamkunwar1251 3 года назад
very very very fast, i can not get anything ...
@iroveashe
@iroveashe 5 лет назад
do you have any tips or materials on taking a project that has been set up with via AWS web and migrating it to serverless framework to have everything setup in a repo?
@foobar_codes
@foobar_codes 5 лет назад
Here is a talk i did on best practices on how to migrate a project to serverless ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-tdsZHRzozgs.html&index=10&list=PLS2XiQxMoI_B3zxud_VV7tl1BO-msTl_E
@iroveashe
@iroveashe 5 лет назад
​@@foobar_codes Thank you! I watched the video and it's not what I was after, what I need is more specific, basically "take the env variables listed here in the web, and put them in serverless.yml like this", things like that, very basic perhaps. However I'm slowly figuring it out and your other videos like this one, that go into details, have been very helpful. Saludos desde argentina :)
@foobar_codes
@foobar_codes 5 лет назад
if you want to learn about env variables I have a playlist about that ru-vid.com/group/PLGyRwGktEFqe3-M1EfbpRX_syICmytNWx I hope that helps :)
@rubelux
@rubelux 4 года назад
Please can you share an example of the serverless-appsync-plugin config combining more than one data source
@foobar_codes
@foobar_codes 4 года назад
i will need to make a refresh on this series :D but in the plugin page you can see examples: github.com/sid88in/serverless-appsync-plugin
@marcoantonioludenafarje3372
@marcoantonioludenafarje3372 4 года назад
HI , thanks for all .I try to use serverless appsync-offline start ( also I install it ) . And I get an error { "errorMessage": "Invalid token specified: Cannot read property 'replace' of undefined" } . I don't know if you could make an example more completed.
@robsondouglas8040
@robsondouglas8040 5 месяцев назад
Thank you, again!
@uzoirr
@uzoirr 4 года назад
Is there a way to enable logging directly from serverless.yml instead of manual toggle inside AppSync API - settings?
@muhammadaijaz2487
@muhammadaijaz2487 4 года назад
How to update my appsync schema? Because sls update-appsync command is not working.
@riyadhzenasni387
@riyadhzenasni387 5 лет назад
Hi. Really awesome Vids. Would be nice to do some real-time app sync without dynamo (by fetching data from other lambdas). Plus offline support. Sorry for asking too much, but you are a very nice person, so I am sure you can handle it. Thanks
@dk0r51
@dk0r51 6 лет назад
At 03:01 `profile: student1` is set on line-6 in of the .yml file But at 03:06 `student1` is not specified as the profile to be deployed. Shouldn't we be doing `sls deploy --aws-profile student1` in order to deploy with the `student1` profile defined in ~/.aws/credentials ? Docs: serverless.com/framework/docs/providers/aws/guide/credentials/#using-the-aws-profile-option
@foobar_codes
@foobar_codes 6 лет назад
profile: student1 is not specified. but if you dont have multiple AWS profiles configured in your computer then you can avoid this line.
@victorcastrocontreras6275
@victorcastrocontreras6275 5 лет назад
No se por que me late q eres mas latina que yo
@haydenl5210
@haydenl5210 6 лет назад
Your serverless command line 'Service Information' section shows an endpoint. I didn't get that by following through the code. I eventually copy and pasted your files from the github repository and once I deployed, there still wasn't an endpoint. Any ideas?
@brylie
@brylie 5 лет назад
Is there a CLI command to automate setting up the GraphQL lambda backend?
@IanasAlexandruCornel
@IanasAlexandruCornel 4 года назад
Great content, subscribed !
@codenjourney6656
@codenjourney6656 4 года назад
Very Proactive
@lethys1000
@lethys1000 6 лет назад
Did these suddenly get put behind a paywall? I refreshed it and am now seeing a message saying “This video requires payment to watch”. Also, in the example where you set the `userPoolId` for the `custom.appsync.userPoolConfig.userPoolId` variable, couldn’t you do something like: `Ref: CognitoUserPool` to have it grab the id in an automated way?
@lethys1000
@lethys1000 6 лет назад
hrm… the paywall message disappeared some minutes later… ;P
@foobar_codes
@foobar_codes 6 лет назад
youtube might have screw it up :) All my content in youtube will be free always
@FaysalIshtiaq
@FaysalIshtiaq 5 лет назад
Can you please stop saying "hello world" like that and all those annoying theatrics?
Далее
Introduction to GraphQL | AWS AppSync Series | #1
10:58
Шоколадная девочка
00:23
Просмотров 821 тыс.
Deploying AppSync Using The Serverless Framework
21:03
Просмотров 2,9 тыс.
Introduction to AppSync | AWS AppSync Series | #2
8:49
Realtime and Offline API Design | AWS AppSync
23:10
Просмотров 4,2 тыс.
AppSync vs running Apollo in Lambda
7:17
Просмотров 6 тыс.