95
GitHub - dabit3/gatsby-auth-starter-aws-amplify: Starter Project with Authentica...
source link: https://github.com/dabit3/gatsby-auth-starter-aws-amplify
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
Gatsby Auth Starter AWS
Gatsby starter with user authentication using Amazon Cognito.
Getting Started
- Create the project
gatsby new my-aws-project https://github.com/dabit3/gatsby-auth-starter-aws-amplify
- Change into the new directory
cd my-aws-project
- Change into the new directory
yarn
# or
npm install
- Install & configure the AWS Amplify CLI
npm i -g @aws-amplify/cli amplify configure
To see a video of how to configure the CLI, click here
- Create a new AWS Amplify Project
If you don't already have the AWS Amplify CLI installed & configured, click here to do so.
amplify init
- Add authentication to your AWS Amplify project
amplify auth add
- Publish the updated project configuration to AWS
amplify publish
- Then you can run it by:
gatsby develop
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK