Skip to content

akeshari98/Auth_APP_V2

Repository files navigation

Here’s a well-structured README.md for your project:


🔐 Robust Authentication System

A secure and scalable authentication system built using Node.js, Express, Bcrypt, JWT, Crypto, and React. The system includes user registration, login, email verification, and password reset functionality with industry-standard security measures.

🚀 Features

  • User Registration & Login with encrypted passwords (Bcrypt)
  • JWT-based Authentication for secure session management
  • Email Verification using unique token-based activation
  • Password Reset with one-time token and expiration handling
  • Protected Routes requiring authentication
  • Fully Responsive Frontend built with React

🛠️ Tech Stack

Backend

  • Node.js – JavaScript runtime
  • Express.js – Backend framework
  • Bcrypt – Secure password hashing
  • JWT (JSON Web Tokens) – Stateless authentication
  • Crypto – Secure token generation
  • Nodemailer – Email service for account verification and password resets

Frontend

  • React.js – UI framework
  • Axios – HTTP client for API requests
  • React Router – Navigation and protected routes

📦 Installation & Setup

Follow these steps to set up the project locally:

🔧 Backend Setup

  1. Navigate to the server directory:
    cd server
  2. Install dependencies:
    npm install
  3. Start the Node.js server:
    npm start

🎨 Frontend Setup

  1. Navigate to the client directory:
    cd client
  2. Install dependencies:
    npm install
  3. Start the React development server:
    npm start

🔑 Environment Variables

Create a .env file in the server folder and configure:

PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key
EMAIL_SERVICE=your_email_provider
EMAIL_USER=your_email
EMAIL_PASS=your_password

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors