html5cat / arc-nexmo

Sample app that combines Serverless Way + Passwordless Login Flow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

In this tutorial we are going to learn the basics of Serverless Way of building apps by using .arc and Passwordless Login Flow with help of Nexmo Verify.

.arc is a great tool that helps create and deploy AWS Lambda functions without having to spend hours in AWS console.

Nexmo Verify is an awesome API that helps you perform Two Factor Authentication (2FA) by sending SMS to phone numbers.

We are going to build an app that lets you login with your phone number and gain access to protected page once you're logged in.

Before you begin

You'll need the following to complete this tutorial:

  • Nexmo Account
  • Node 8.10.x and npm 6.0.x locally
  • AWS Account and credentials setup as per this guide

Feel free download the code from GitHub repo.

Build login flow

Verify phone number

Conclusion

Where next

About

Sample app that combines Serverless Way + Passwordless Login Flow


Languages

Language:JavaScript 94.1%Language:Arc 5.9%