Coder Social home page Coder Social logo

bakossandor / gatsby-amplify-101 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 2.18 MB

This project goal is to discover the correct usage of the Amplify JavaScript SDK Authentication module

License: BSD Zero Clause License

JavaScript 83.12% CSS 16.88%

gatsby-amplify-101's Introduction

Gatsby - Amplify starter pack

This project aims to provide a clear overview on how to use the Amplify Auth module in a React-Gatsby project

Features

  1. Register
  2. Login
  3. Logout
  4. Profile shows user information from Amplify/Coginito user pools

Setup this project

  1. Clone the repository
  2. npm install
  3. Set up a Cognito User Pool with an appropriate web client - This projet User Pool Settings:
  • users can use their email address as the username
  • verification type is "Link"
  • app client is no secret key
  • and added a custom domain (it is required if the verification is set to "Link")
  1. create a .env.development file in the root directory with the following keys and values
key description
COGNITO_REGION AWS region of the cognito user pool
COGNITO_USER_POOL_ID AWS Cognito user pool ID
COGNITO_USER_POOL_WEB_CLIENT_ID AWS Cognito user pool web client ID

Demo

gatsby-amplify-101's People

Contributors

bakossandor avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.