Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(JS): add signInWithRedirect examples using Hub #7123

Open
wants to merge 92 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
11053b0
Minor edits to Vite + React quickstart (#6926)
hibler13 Feb 19, 2024
c54850c
fix: Fix incorrect auth import path in migration guide. (#6934)
jimblanc Feb 20, 2024
d9e1afa
fix: Update incorrect `updateMFAPreference` parameter in JS v6 migrat…
jimblanc Feb 20, 2024
abea35b
Amplify Android Release 2.14.11 (#6933)
ankpshah Feb 20, 2024
f4fe23e
chore: refactor .layout-header into separate component (#6826)
katiegoines Feb 21, 2024
20df399
fix: Nesting of auth cli templates (#6932)
nadetastic Feb 21, 2024
d29e872
fix: change config variable name (#6923)
tacck Feb 21, 2024
2aef692
Guide to support Amplify v2 with AWS Android SDK (#6927)
tylerjroach Feb 22, 2024
ea39d66
Update puppeteer (#6949)
timngyn Feb 22, 2024
cadadb0
Update index.mdx (#6950)
renebrandel Feb 22, 2024
bcfdc8e
Update CODEOWNERS with correct PM alignment (#6951)
renebrandel Feb 22, 2024
5998b22
fix(flutter, js): scope "connect existing cdk" guide to respective pl…
Equartey Feb 23, 2024
c3d5432
Revert "fix(flutter, js): scope "connect existing cdk" guide to respe…
Equartey Feb 23, 2024
4c8a711
chore: remove duplicated logic between Layout and LayoutHeader (#6954)
hbuchel Feb 23, 2024
b5cdee5
improve oauth docs (#6961)
johnpc Feb 26, 2024
71b5756
fixed gen 2 getting started guide (#6968)
renebrandel Feb 27, 2024
c97a89d
Update redirects for deleted hidden pages (#6944)
heatheramz Feb 27, 2024
0b99910
Update manual installation to point to @beta tag (#6972)
swaminator Feb 27, 2024
74850e5
include usage for multi-page apps (#6964)
johnpc Feb 27, 2024
7661906
chore: Clean up broken Amplify JS API reference links (#6976)
jimblanc Feb 28, 2024
3647359
Update build image instructions for Gen 2 (#6978)
Jay2113 Feb 29, 2024
fb1b8ed
chore: add unit test for YoutubeEmbed component (#6983)
katiegoines Feb 29, 2024
f57a60a
chore: add unit tests for Accordion component (#6981)
katiegoines Feb 29, 2024
0a7e95b
Update index.mdx (#6986)
renebrandel Feb 29, 2024
f9115e5
Add env variables for algolia (#6957)
timngyn Feb 29, 2024
7a9d346
fix(data): update REST API docs to document correct error response ty…
david-mcafee Feb 29, 2024
b148025
fix(data): update React Native minimum iOS deployment target guidance…
david-mcafee Feb 29, 2024
d2d48fe
Clarify behavior of forgetDevice() API regarding device tracking (#6985)
ankpshah Feb 29, 2024
c641e6d
Support for enum value listing (#6885)
renebrandel Mar 1, 2024
e0c58b2
CDK updates v2 (#6990)
hibler13 Mar 1, 2024
3cbd591
Add padding to bottom of nav menu (#6991)
timngyn Mar 1, 2024
8f43f83
Adding secondary index to Gen 2 (#6996)
renebrandel Mar 4, 2024
8adadb2
extend config to show addOuput (#6963)
ykethan Mar 4, 2024
6a60ffb
Update index.mdx (#6995)
renebrandel Mar 4, 2024
5c3f549
chore: add unit tests for NextPrevious component (#7003)
katiegoines Mar 5, 2024
9889330
chore: add unit tests for LinkCards and LinkCard components (#7006)
katiegoines Mar 5, 2024
0209b3b
chore: add unit tests for GetStartedPopover component (#7005)
katiegoines Mar 5, 2024
2bed645
fix: [Storage] Configure Access (#6948)
nadetastic Mar 6, 2024
684333a
fix(Swift): update data use policy info's tracking to false (#6938)
lawmicha Mar 6, 2024
6d37f78
chore: add callouts and troubleshooting guide for configuration (#6967)
erinleigh90 Mar 6, 2024
25e641b
fix: resolve in-content broken links (#7011)
katiegoines Mar 6, 2024
28ddcfd
update gen2 storage and function docs (#7009)
edwardfoyle Mar 6, 2024
5cd0ec3
Update CODEOWNERS (#7014)
katiegoines Mar 6, 2024
e4f697d
updated steps for extending components in code (#6827)
the1adi Mar 7, 2024
941a617
Custom business logic support as of March @beta (#7019)
renebrandel Mar 7, 2024
ae8bad3
add storage trigger docs (#7020)
edwardfoyle Mar 7, 2024
1dc24d6
update link checker to wait for each call to complete before making t…
jacoblogan Mar 7, 2024
662bff3
custom examples (#6979)
ykethan Mar 7, 2024
54aaa73
fix: broken link, missing / at start (#7026)
katiegoines Mar 8, 2024
0d0e9aa
validate and fix code snippets in Data section (#6975)
chrisbonifacio Mar 8, 2024
886f984
Update sandbox --dir-to-watch description (#7031)
rtpascual Mar 9, 2024
0be1575
Update index.mdx (#7035)
timngyn Mar 11, 2024
8e1c3e3
Fix link (#7028)
timngyn Mar 11, 2024
57a1f7e
add docs to auth resource access pattern (#7032)
bombguy Mar 11, 2024
cbacd40
fix: type platform as optional in Breadcrumbs component & add unit te…
katiegoines Mar 12, 2024
e4aed00
fix: proper variable naming conventions for storage (#7033)
ujjwol05 Mar 12, 2024
79b112b
remove explicit file extension from gen2 imports (#6946)
gentamura Mar 12, 2024
6ad97e5
fix: Update diff code blocks to TypeScript with code highlights (#6905)
kevinold Mar 12, 2024
b4ad8fe
add docs on granting defineFunction access to defineData (#7029)
edwardfoyle Mar 12, 2024
5e1c738
standardize Gen 2 wording (#7036)
Jay2113 Mar 12, 2024
9a67d96
Update index.mdx (#6906)
dwittle Mar 12, 2024
b28388d
Modify_Amplify_resources (#7018)
AnilMaktala Mar 13, 2024
4fb7203
Update maplibre links (#7040)
timngyn Mar 13, 2024
7c02c8b
chore: add unit tests for PlatformNavigator (#6980)
katiegoines Mar 13, 2024
63505fe
Update links to expo docs (#7044)
timngyn Mar 13, 2024
9785d09
chore: add unit tests for InternalLinkButton (#7000)
katiegoines Mar 14, 2024
993eec9
chore: add addtl unit test for Block component (#6982)
katiegoines Mar 14, 2024
6eee7cd
chore: add unit tests for TOC (#6984)
katiegoines Mar 14, 2024
dac59ce
chore: add unit tests for ExternalLink (#6915)
katiegoines Mar 14, 2024
7af4804
chore: add unit tests for ExternalLinkButton (#6914)
katiegoines Mar 14, 2024
98a5f85
chore: add unit tests for Footer component (#6999)
katiegoines Mar 14, 2024
6dc792d
chore: add unit tests for MigrationAlert component (#7004)
katiegoines Mar 14, 2024
e026ec7
chore: add unit test for Overview component (#7002)
katiegoines Mar 14, 2024
a136b57
chore: upgrade docsearch/react to 3.6 (#7046)
hbuchel Mar 14, 2024
1395531
added utility type content (#7047)
renebrandel Mar 14, 2024
78e6811
chore: add unit tests for PageLastUpdated (#7001)
katiegoines Mar 15, 2024
e432da6
chore: add unit tests for Commands and Columns (#6916)
katiegoines Mar 15, 2024
ea60cd2
Update resolution for follow-redirects (#7055)
timngyn Mar 15, 2024
9caa150
Update relative urls (#7048)
timngyn Mar 15, 2024
5b9ee28
Updating link checker (#7052)
timngyn Mar 18, 2024
47e8072
chore: update redirects list (#6969)
katiegoines Mar 18, 2024
a9fc205
remove allowlist role names for appsync console access page (#7081)
chrisbonifacio Mar 19, 2024
571ee1c
Add JavaScript resolver code sample to Gen 1 (#7087)
renebrandel Mar 19, 2024
060d042
fix(JS): Update v5 JS libraries installation guides. (#7090)
israx Mar 20, 2024
186ec25
Cbonif/field-level-auth-support-for-sql (#7091)
chrisbonifacio Mar 20, 2024
911eac0
chore(gen2-data): update .secondaryIndexes example to match the lates…
HuiSF Mar 22, 2024
ea4d443
update setup auth client example with correct props (#7106)
ykethan Mar 22, 2024
8ee8728
Change generated function env package name (#7096)
rtpascual Mar 22, 2024
c0dd456
Update typo in url for localhost (#7110)
timngyn Mar 23, 2024
27bd042
update next config to use a static build Id (#7102)
jacoblogan Mar 25, 2024
a16cb3a
chore: Add callout on Analytics buffer persistence in Amplify JS (#7115)
jimblanc Mar 25, 2024
ed35340
chore(JS): add signInWithRedirect examples with Hub
israx Mar 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(flutter, js): scope "connect existing cdk" guide to respective pl…
…atform (#6947)

Co-authored-by: Tim Nguyen <[email protected]>
  • Loading branch information
Equartey and timngyn authored Feb 23, 2024
commit 5998b22f18cada98ba7c6d1f35c3f6b378637476
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ The CDK will deploy the stacks and display the following confirmation. Note the

Now that you have built the backend API with the CDK, you can connect a frontend. Refer to section two to connect a React app or section three to connect a Flutter app, or complete both to connect frontends in each framework.

<InlineFilter filters={["javascript", "react-native", "angular", "nextjs", "react", "vue"]}>

## Build a React app and connect to the GraphQL API

In this section, we will connect a React web app to our existing GraphQL API. First, we will create a new React project and install the necessary Amplify packages. Next, we will use the Amplify CLI to generate GraphQL code matching our API structure. Then, we will add React components to perform queries and mutations to manage to-do items in our API. After that, we will configure the Amplify library with details of our backend API. Finally, we will run the application to demonstrate full CRUD functionality with our existing API.
Expand Down Expand Up @@ -310,6 +312,10 @@ In this section, we generated GraphQL code, created React components, configured

Congratulations on successfully creating a new React app and linking it to a preexisting GraphQL API built with AWS CDK. The next optional section will guide you through doing the same for a Flutter mobile app. Alternatively, you can skip ahead to the ["Clean up resources"](/[platform]/build-a-backend/existing-resources/cdk/#clean-up-resources) section.

</InlineFilter>

<InlineFilter filters={["flutter"]}>

## Build a Flutter app and connect to the GraphQL API

In this section, we will connect a Flutter mobile app to the GraphQL API we created with the CDK. First, we will initialize a Flutter project, define models matching our schema, and use Amplify to integrate CRUD operations. Then we will add UI pages to manage to-do items with queries and mutations. Finally, we will configure Amplify with our backend details and run the app to demonstrate full functionality with our existing API.
Expand Down Expand Up @@ -812,6 +818,8 @@ flutter run -d chrome

Congratulations! You used the AWS Amplify Data CDK construct to create a GraphQL API backend using AWS AppSync. You then connected either a Flutter app, a React app, or both to that API using the Amplify libraries. If you have any feedback, leave a [GitHub issue](https://github.com/aws-amplify/docs/issues) or join our [Discord Community](https://discord.gg/amplify)!

</InlineFilter>

## Clean up resources

Once you're finished experimenting with these demo apps, we recommend deleting the backend resources to avoid incurring unexpected costs. You can do this by running the following command in the root folder of the CDK app created above.
Expand Down
Loading