GithubHelp home page GithubHelp logo

scottscovell / passwordless-auth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ryands17/passwordless-auth

0.0 0.0 0.0 655 KB

Allows a user to login directly via email without a need for entering passwords using Cognito

Shell 0.60% JavaScript 1.77% TypeScript 89.00% CSS 2.13% HTML 6.50%

passwordless-auth's Introduction

Passwordless Auth

This stack allows a user to login directly via email without any need for a pasword. This uses Cognito for authentication along with Lambda triggers. Here's the blog post for the same.

The cdk.json file tells the CDK Toolkit how to execute your app.

Prerequisites

  • Install dependencies using yarn
  • Rename .example.env to .env in packages/backend and replace the value in SES_FROM_ADDRESS to your verified email address in SES
  • Rename .example.env to .env in packages/frontend and replace the value in AWS_REGION to the region your stack is deployed to. Default is us-east-2

Useful commands

CDK

  • yarn workspace backend build compile typescript to js
  • yarn workspace backend watch watch for changes and compile
  • yarn workspace backend test perform the jest unit tests
  • yarn workspace backend cdk deploy deploy this stack to your default AWS account/region
  • yarn workspace backend cdk diff compare deployed stack with current state
  • yarn workspace backend cdk synth emits the synthesized CloudFormation template

Webapp

  • yarn workspace frontend dev starts the dev server on http://localhost:3000
  • yarn workspace frontend build builds the app for production to the build folder
  • yarn workspace frontend test launches the test runner in the interactive watch mode

passwordless-auth's People

Contributors

ryands17 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.