Skip to content

mohamed-laghbar/Auth-API-Nodejs-OTP-JWT-Refresh-Token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth-API-with-OTP-JWT-Refresh-Token

A secure authentication API built with TypeScript and Node.js, featuring OTP code implementation, refresh token and access token management.

Features

  • OTP code generation and delivery via email using nodemailer
  • Refresh token and access token management for secure user authentication
  • Custom error handling middleware for improved error handling and user feedback

Getting Started

  1. Clone the repository
  2. Install dependencies using npm install
  3. Configure the .env file with your own settings
  4. Start the API using npm run dev

Contributions

Contributions are always welcome! Feel free to submit a pull request or open an issue if you have any suggestions or improvements.

About

A secure and scalable authentication API built with TypeScript and Node.js. The API features an OTP code verification system and custom error handling middleware to enhance user experience. The project uses nodemailer to send OTP codes and is fully open-source, ready to be integrated into your projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors