Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.26 KB

README.md

File metadata and controls

33 lines (26 loc) · 1.26 KB

nodejs-user-auth-service

Description

nodejs-user-auth-service is a Node.js based user authentication service, utilizing JWT (JSON Web Tokens) and AuthProvider for secure and efficient authentication management. This service also integrates Google Authenticator, offering an additional layer of security through two-factor authentication (2FA).

Technologies Used

  • Node.js
  • TypeScript
  • MongoDB
  • Express.js
  • JWT (JSON Web Tokens)
  • Google Authenticator

Installation and Setup

  1. Clone the repository to your local machine.
  2. Install dependencies by running npm install.
  3. Set up the necessary environment variables in the .env file.
  4. To start the service, run npm start.

Features

  • User authentication and authorization.
  • JWT for secure token-based user sessions.
  • Integration with Google Authenticator for 2FA.
  • Robust MongoDB integration for user data management.

Usage

After starting the service, it will be accessible for user authentication requests. Utilize the provided endpoints for user registration, login, and verification.

Contributions

Contributions are welcome! Please follow the standard coding practices, write tests for new features, and document your code.

License

[Specify the type of license or state that it's not licensed.]