Here's the updated README based on your new requirements:
This project is a web application demonstrating how to strengthen multifactor security authentication using the Vonage SIM Swap API. The application includes a simple bank dashboard and a login form. When a user attempts to log in, the SIM Swap API checks if the phone number associated with the account has been recently swapped. If a recent SIM swap is detected, additional security measures are applied, and the login process may be halted or flagged for further review. If no recent SIM swap is detected, the user can proceed with the login process.
- A Vonage Developer Account.
- Node.js and npm installed.
-
Clone the repository and change directories.
-
Install the required packages:
npm install
-
Move the
.env.example
file to.env
file in the project root and include the following environment variables:mv .env.example .env
JWT=your_jwt_token MAX_AGE=72
-
Run the application:
node server.js
-
Launch your web browser and enter the URL:
http://localhost:3000/