This application allows users to register and login to their accounts. During registration, an email is sent to the user containing an OTP (One Time Password) for verification. The OTP expires after two minutes if not used, and the account is locked if the user enters the wrong OTP 3 times.
- Register
- Login
- Resend OTP
- OTP expired in two minutes if not used
- Account locked if 3 wrong OTPs are entered
- OTP sent via email
- Clone the repository
- Install the dependencies with
npm install
- Run the application with
npm start
- Access the application at
http://localhost:3000
- Node.js
- Express.js
- NPM# api-otp-authentication