This React + Vite Password Generator is a simple web application that allows users to generate passwords of varying lengths according to their needs. Users can customize the length of the password and choose whether to include numbers and special characters. A additionally, the application provides the functionality to copy the generated password to the clipboard for easy use.
You can view this site (here)[https://amulyamachhan.github.io/passwordGenerator/]
- Password Generation: Generate passwords of customizable length, up to 100 characters.
- Include Numbers: Option to include numbers in the generated password for added complexity.
- Include Special Characters: Option to include special characters in the generated password.
- Copy to Clipboard: Ability to copy the generated password to the clipboard with a single click.
- React: Used for building the user interface and managing application state.
- Vite: Used as the build tool to bundle and optimize the project.
- JavaScript: Used for implementing the password generation logic and clipboard functionality.
- CSS: Used for styling the user interface and enhancing the visual appeal.
To run the React + Vite Password Generator locally, follow these steps:
- Clone this repository to your local machine:
git clone https://github.com/AmulyaMachhan/password-generator.git
- Navigate to the project directory:
cd password-generator
- Install dependencies using npm or yarn:
npm install
oryarn install
- Start the development server:
npm run dev
oryarn dev
- Open your web browser and visit
http://localhost:3000
to view the application.
- Adjust the length of the password using the slider or input field.
- Toggle the options to include numbers and special characters as desired.
- Click the "Generate Password" button to generate a password.
- Click the "Copy to Clipboard" button to copy the generated password.
- Paste the password wherever you need it, such as login forms or password managers.
Contributions are welcome! If you'd like to contribute to this project, please fork the repository, make your changes, and submit a pull request.
This React + Vite Password Generator was created by Amulya Machhan.