This project is a web application built with Angular, TypeScript, and SCSS that generates a random password each time. This project was developed as part of the Frontend Developer Assignment at Facets.cloud
.
The project is live deployed at: Password Generator - Akash Gupta
Feel free to explore the live deployment.
- Clone the repository to your local machine using the following command:
git clone https://github.com/akgupta20/password-generator
- Navigate to the project directory:
cd password-generator
- Install dependencies using the command:
npm install
To run the project locally after completing the setup and installation steps:
- Start the development server using the command:
npm start
- Open your web browser and navigate to
http://localhost:4200
to view the application.
- Angular: Used as the primary framework for building the web application.
- TypeScript: Utilized for adding type safety and enhancing the development experience.
- SCSS: Used scss for styling the application with modular and maintainable CSS.
- User can enter the length of the password.
- Clicking the "Generate" button generates a password containing all alphabets and displays it in a div.
- Added checkboxes for user to select the following options:
- Include alphabets (uppercase/lowercase)
- Include numbers
- Added an extra checkbox for including special characters.
- The maximum password length is 32 characters.
- By default, the generated password will include only alphabets if no checkboxes are selected.
- The special characters considered include common symbols such as
['!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '-', '+']
.
The source code for this project is available on GitHub: Password Generator Repository