当前位置: 首页 > 软件库 > 云计算 > Serverless 系统 >

gatsby-auth-starter-aws-amplify

授权协议 MIT License
开发语言 JavaScript
所属分类 云计算、 Serverless 系统
软件类型 开源软件
地区 不详
投 递 者 施慈
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Gatsby Auth starter with AWS Amplify

This auth starter implements a basic authentication flow for signing up signing in users as well as protected client side routing using AWS Amplify. Auth features:

  • User sign up
  • User sign in
  • Multi-factor Authentication
  • User sign-out

Deploy to the Amplify console

Click the button to deploy a fullstack app in your AWS account:

amplifybutton

You can now continuously deploy changes to your frontend or backend and Amplify Console will automatically deploy those changes.

Run locally

  1. Create the project
gatsby new gatsby-amplify-auth https://github.com/dabit3/gatsby-auth-starter-aws-amplify
  1. Change into the new directory
cd gatsby-amplify-auth
  1. Install dependencies
yarn
# or
npm install
  1. Install & configure the AWS Amplify CLI.
npm install -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
amplify init

Here, walk through the following steps:

  • Enter a name for the project YOURPROJECTNAME
  • Enter a name for the environment master
  • Choose your default editor: Visual Studio Code (or your editor of choice)
  • Choose the type of app that you're building javascript
  • What javascript framework are you using react
  • Source Directory Path: src
  • Distribution Directory Path: public
  • Build Command: npm run-script build
  • Start Command: npm run-script develop
  1. Push the updated project configuration to AWS. It will deploy a CloudFormation template that has an Amazon Cognito resource that enables user authentication.
amplify push
  1. Then you can run it by:
gatsby develop
 相关资料
  • Lumen A constantly evolving and thoughtful architecture for creating new static blogs. Table of contents Features Web Performance Tests Quick Start Deploy with Netlify Folder Structure Sponsors Contri

  • PersonalBlog A GatsbyJS personal blog starter. See the starter in action » demo website For more information visit » dev.greglobinski.com/gatsby-starter-personal-blog Description A ready to use, easy

  • aws-google-auth This command-line tool allows you to acquire AWS temporary (STS)credentials using Google Apps as a federated (Single Sign-On, or SSO)provider. Setup You'll first have to set up Google

  • SpaceFinder - Serverless Auth Reference App SpaceFinder is a reference mobile app that allows users to book conference rooms, work desks, and other shared resources. The app showcases serverless authe

  • AWS Mobile React Native Starter App - Serverless Pet Tracker This sample application has been archived in favor of Amplify JS Samples. While the archived repository will still work, please go +1 this

  • 概述 插件 参考 基于 Gatsby 搭建博客 Gatsby.js 未来的网页