Skip to content

Repository files navigation

User Authentication API

This project implements a user authentication API using Node.js, Express, MongoDB, and JWT. It provides functionalities for user registration, login, and password reset. for API DOCS: https://www.postman.com/satellite-administrator-83201664/workspace/new-workspace/documentation/24143499-984c2b2a-2062-4813-991b-07b9c4fd3a6a?entity=request-24143499-766512cd-95f1-4a43-9731-2651594d5d1e

Features

  • User registration with email, username, and password
  • User login with username and password
  • Password reset functionality with email verification

Technologies Used

  • Node.js
  • Express
  • MongoDB (Mongoose)
  • Bcrypt (for password hashing)
  • JWT (JSON Web Token for authentication)
  • Nodemailer (for sending emails)
  • dotenv (for environment variable management)

Prerequisites

  • Node.js and npm installed
  • MongoDB instance (local or cloud-based)
  • An email account for sending password reset emails (e.g., Gmail)

Getting Started

Clone the Repository

git clone https://github.com/your-username/user-auth-api.git
cd user-auth-api


About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages