-
Notifications
You must be signed in to change notification settings - Fork 1.1k
add page for using libraries without Amplify backend #7724
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
Merged
Merged
Changes from 5 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
6435146
add page for using libraries without Amplify backend
hdworld11 2adfd4f
Update src/pages/[platform]/start/libraries-standalone/index.mdx
hdworld11 6cbf369
rename page
hdworld11 a80f3fa
Merge branch 'hdworld11/add-library-standalone-page' of github.com:aw…
hdworld11 b3c698e
update intro
hdworld11 5f0eb58
Update src/pages/[platform]/start/connect-existing-aws-resources/inde…
hdworld11 8db328e
Update src/pages/[platform]/start/connect-existing-aws-resources/inde…
hdworld11 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
src/pages/[platform]/start/connect-existing-aws-resources/index.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import { getCustomStaticPath } from '@/utils/getCustomStaticPath'; | ||
import { Card } from '@aws-amplify/ui-react'; | ||
|
||
export const meta = { | ||
title: 'Connect to existing AWS resources', | ||
description: 'You can use Amplify client libraries to connect directly to your AWS resources without having to set up an Amplify backend.', | ||
platforms: [ | ||
'android', | ||
'angular', | ||
'flutter', | ||
'javascript', | ||
'nextjs', | ||
'react', | ||
'react-native', | ||
'swift', | ||
'vue' | ||
] | ||
}; | ||
|
||
export const getStaticPaths = async () => { | ||
return getCustomStaticPath(meta.platforms); | ||
}; | ||
|
||
export function getStaticProps(context) { | ||
return { | ||
props: { | ||
platform: context.params.platform, | ||
meta | ||
} | ||
}; | ||
} | ||
|
||
Amplify client libraries provide you with the flexibility to directly connect your application to AWS resources, regardless of whether you choose to set up an Amplify backend environment or manually configure individual AWS services, such as AWS AppSync, Amazon Cognito, Amazon S3, and more. | ||
|
||
If you prefer not to use the Amplify backend, you can still benefit from the Amplify libraries by following the instructions provided | ||
|
||
<Columns columns={2}> | ||
<Card variation="outlined"> | ||
[Connect to Cognito](/[platform]/build-a-backend/auth/use-existing-cognito-resources/) | ||
|
||
Connect to Cognito resources using Amplify APIs for Auth | ||
hdworld11 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</Card> | ||
</Columns> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.