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