Node.js
Create the UI
The application will use the pug template engine to render the pages as HTML.
In a folder called views in your application directory, create the following templates:
layout.pug
index.pug
authenticate.pug
entercode.pug
Finally, create a file called style.css in a public/css directory, which contains the following style sheet:
Step-up Authentication
Add an extra layer of security when users perform sensitive tasks
Steps
1
Introduction2
Create the Node.js application3
Initialize your dependencies4
Configure the application5
Define the routes6
Create the UI7
Display the home page8
Send the verification request9
Check the verification code10
Try it out!11
What's next?