Skip to content

Bazzomir/random-password

Repository files navigation

Random Password Generator

The Random Password Generator is a user-friendly web application that allows users to generate secure passwords instantly. With multiple length options and a modern design, it ensures both security and ease of use.

Features

  • Generate different types of passwords:

    • 4-digit PIN
    • 8 character password
    • 12 character password
    • 22 character password
  • Modern UI:

    • Glassmorphism design for a sleek, stylish appearance.
  • Password strength indicator:

    • Displays the strength of your based on length and complexity.
  • Copy to Clipboard:

    • One-click copy functionality to quickly use your password.
  • Responsive Design:

    • Works seamlessly on both desktop and mobile devices.

Technologies Used

  • React 18+
  • TypeScript
  • Vite
  • Vitest
  • Tailwind CSS

Installation

  1. Clone the repository

    git clone https://github.com/Bazzomir/random-password.git
    cd random-password
  2. Install dependencies

    npm install
  3. Start the development server

    npm run dev
  4. Open your browser and navigate to http://localhost:5173

Testing

  1. Component, Function & Logic Testing

    cd random-password
    npx vitest --config vitest.config.ts

Usage

  1. Open the application in your browser.

  2. Select the desired password length.

  3. Click the Generate button to create a secure password.

  4. Copy the generated password using the Copy button.