Skip to content

Commit 72e3460

Browse files
committed
Initial commit
0 parents  commit 72e3460

14 files changed

+2925
-0
lines changed

.eslintrc.cjs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
root: true,
3+
env: { browser: true, es2020: true },
4+
extends: [
5+
'eslint:recommended',
6+
'plugin:react/recommended',
7+
'plugin:react/jsx-runtime',
8+
'plugin:react-hooks/recommended',
9+
],
10+
ignorePatterns: ['dist', '.eslintrc.cjs'],
11+
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
12+
settings: { react: { version: '18.2' } },
13+
plugins: ['react-refresh'],
14+
rules: {
15+
'react-refresh/only-export-components': [
16+
'warn',
17+
{ allowConstantExport: true },
18+
],
19+
},
20+
}

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 NullMan
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
### react-password-generator (v0.1.0)
2+
3+
Advanced random password generator made with reactjs and tailwindcss, fast and easy.
4+
5+
[![GitHub license](https://img.shields.io/github/license/iamnullman/react-password-generator.svg)]
6+
[![Stars](https://img.shields.io/github/stars/iamnullman/react-password-generator.svg)]
7+
8+
## Preview
9+
10+
![Preview](/public/ui.png)
11+
12+
## Getting Started:
13+
14+
First, install the dependencies:
15+
16+
```bash
17+
npm install
18+
# veya
19+
pnpm install
20+
# veya
21+
yarn install
22+
```
23+
24+
Then, run the development server:
25+
26+
```bash
27+
npm run dev
28+
# veya
29+
pnpm run dev
30+
# veya
31+
yarn dev
32+
```
33+
34+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
35+
36+
## How to Use:
37+
38+
1. To start the application, follow the steps above.
39+
2. Open [http://localhost:3000](http://localhost:3000) in your browser.
40+
41+
## Features:
42+
43+
- Generate random password.
44+
- Copy password to clipboard.
45+
- Password length selection.
46+
47+
## Contributing:
48+
49+
If you want to contribute to this project, you can follow these steps:
50+
51+
1. Fork this repository and run it on your own project.
52+
2. Make your changes and add descriptive comments.
53+
3. Create a pull request.
54+
55+
## License:
56+
57+
This project is licensed under the MIT License. For more information, see the LICENSE file.
58+
59+
## Contact:
60+
61+
For any questions or feedback, you can reach us at nullm4n@yandex.com or [![Discord](
62+
https://img.shields.io/discord/975386456635883581?color=7289da&label=Discord&logo=discord&logoColor=white)](https://discord.gg/pS4YCmywQ7)

index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!doctype html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<link href="https://pro.fontawesome.com/releases/v6.0.0-beta1/css/all.css" rel="stylesheet" />
7+
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap" rel="stylesheet">
8+
<title>ReactJS Password Generator - iamnullman</title>
9+
</head>
10+
11+
<body>
12+
<div id="root"></div>
13+
<script type="module" src="/src/main.jsx"></script>
14+
</body>
15+
16+
</html>

package.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "password-generator",
3+
"private": true,
4+
"version": "0.0.0",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite",
8+
"build": "vite build",
9+
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
10+
"preview": "vite preview"
11+
},
12+
"dependencies": {
13+
"react": "^18.2.0",
14+
"react-dom": "^18.2.0",
15+
"react-hot-toast": "^2.4.1"
16+
},
17+
"devDependencies": {
18+
"@types/react": "^18.2.15",
19+
"@types/react-dom": "^18.2.7",
20+
"@vitejs/plugin-react": "^4.0.3",
21+
"autoprefixer": "^10.4.16",
22+
"eslint": "^8.45.0",
23+
"eslint-plugin-react": "^7.32.2",
24+
"eslint-plugin-react-hooks": "^4.6.0",
25+
"eslint-plugin-react-refresh": "^0.4.3",
26+
"postcss": "^8.4.30",
27+
"tailwindcss": "^3.3.3",
28+
"vite": "^4.4.5"
29+
}
30+
}

0 commit comments

Comments
 (0)