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.
You'll need the following to complete this tutorial:
- Nexmo Account
Node 8.10.x
andnpm 6.0.x
locally- AWS Account and credentials setup as per this guide
Feel free download the code from GitHub repo.