Skip to content

Yves-Developer/AuthSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🔒 Authentication System - Express.js & React.js

A robust and secure authentication system built using Express.js and React.js. This project includes essential authentication features to ensure a seamless user experience.

🚀 Features

  • 🔑 Sign Up Flow: Register new users with ease.
  • 📩 OTP Verification Flow: Secure user verification via OTP.
  • 🔓 Login: Authenticate users with their credentials.
  • Forgot Password: Recover access to accounts.
  • 🔄 Reset Password: Update passwords securely.

🛠️ Tech Stack

🚀 Backend: Express.js- A minimal and flexible Node.js web application framework.

⚛️ Frontend: React.js - A JavaScript library for building user interfaces.

Builder: Vite - A fast and modern frontend build tool.

🔐 Authentication: JWT - Secure token-based authentication.

✉️ Email Service: MailTrap - A tool for safe email testing.

📂 Project Structure

/backend
    ├── routes/
    ├── controllers/
    ├── models/
    ├── utils/
    └── app.js

/frontend
    ├── src/
    ├── components/
    ├── pages/
    ├── hooks/
    └── App.jsx

📖 Getting Started

Prerequisites

  • Node.js installed on your system.
  • A MailTrap.io account for email testing.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/AuthSystem.git
    cd AuthSystem
  2. Install dependencies for both backend and frontend:

    cd backend
    npm install
    cd ../frontend
    npm install
  3. Configure environment variables:

    • Create a .env file in the backend directory.
    • Add your MailTrap.io credentials and JWT secret.
  4. Start the development servers:

    cd backend
    npm start
    cd ../frontend
    npm run dev

📧 Contact

For any inquiries or feedback, feel free to reach out at your-email@example.com.


Made with ❤️ by Yves DC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published