95

GitHub - dabit3/gatsby-auth-starter-aws-amplify: Starter Project with Authentica...

 5 years ago
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

  1. Create the project
gatsby new my-aws-project https://github.com/dabit3/gatsby-auth-starter-aws-amplify
  1. Change into the new directory
cd my-aws-project
  1. Change into the new directory
yarn
# or
npm install
  1. 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

  1. 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
  1. Add authentication to your AWS Amplify project
amplify auth add
  1. Publish the updated project configuration to AWS
amplify publish
  1. Then you can run it by:
gatsby develop

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK