afront 1.0.24 → 1.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/.babelrc +13 -13
  2. package/.env +1 -1
  3. package/LICENSE +21 -21
  4. package/README.md +94 -94
  5. package/build-prod/index.html +1 -1
  6. package/build-prod/manifest.json +25 -25
  7. package/build-prod/offline.html +1023 -1023
  8. package/build-prod/robots.txt +3 -3
  9. package/build-prod-static/index.html +1 -1
  10. package/build-prod-static/manifest.json +25 -25
  11. package/build-prod-static/offline.html +1023 -1023
  12. package/build-prod-static/robots.txt +3 -3
  13. package/install.js +415 -415
  14. package/package.json +102 -96
  15. package/server.js +40 -40
  16. package/src/ARoutes/AFRoutes.js +28 -28
  17. package/src/Api/api.config.js +266 -266
  18. package/src/Api/login.service.js +44 -44
  19. package/src/App.js +28 -28
  20. package/src/Components/Background/MeshGradient.js +18 -18
  21. package/src/Components/Footer/Footer.js +108 -108
  22. package/src/Components/Header/Header.js +149 -149
  23. package/src/Components/Loading/LoadingIndicator.js +12 -12
  24. package/src/Components/Loading/LoadingIndicator.module.css +34 -34
  25. package/src/Components/Loading/LoadingSpinner.js +27 -27
  26. package/src/Components/Loading/LoadingSpinner.module.css +100 -100
  27. package/src/Components/RequireAuth.js +29 -29
  28. package/src/LoadingFallback.js +13 -13
  29. package/src/PageNotFound.js +19 -19
  30. package/src/Pages/Home.js +50 -50
  31. package/src/Pages/Signup.js +230 -230
  32. package/src/Pages/Support.js +68 -68
  33. package/src/Routes/ARoutes.js +66 -66
  34. package/src/Routes/ARoutesStatic.js +83 -83
  35. package/src/Static/appStatic.js +16 -16
  36. package/src/Static/indexStatic.js +13 -13
  37. package/src/Style/App.module.css +11 -11
  38. package/src/Style/MeshGradient.module.css +130 -130
  39. package/src/Style/PageNotFound.module.css +37 -37
  40. package/src/Style/Style.module.css +686 -686
  41. package/src/Style/Support.module.css +185 -185
  42. package/src/Utils/LoadingContext.js +5 -5
  43. package/src/index.js +25 -25
  44. package/webpack.build-prod.js +141 -140
  45. package/webpack.dev.js +127 -127
  46. package/webpack.prod.js +148 -147
  47. package/webpack.ssr.prod.js +97 -97
  48. package/npm-shrinkwrap.json +0 -9641
package/.babelrc CHANGED
@@ -1,14 +1,14 @@
1
- {
2
- "presets": [
3
- "@babel/preset-env","@babel/preset-react"
4
- ],
5
- "plugins": [
6
- [
7
- "babel-plugin-css-modules-transform",
8
- {
9
- "extensions": [".css", ".scss"],
10
- "generateScopedName": "[local]"
11
- }
12
- ]
13
- ]
1
+ {
2
+ "presets": [
3
+ "@babel/preset-env","@babel/preset-react"
4
+ ],
5
+ "plugins": [
6
+ [
7
+ "babel-plugin-css-modules-transform",
8
+ {
9
+ "extensions": [".css", ".scss"],
10
+ "generateScopedName": "[local]"
11
+ }
12
+ ]
13
+ ]
14
14
  }
package/.env CHANGED
@@ -1,2 +1,2 @@
1
- PORT=3001
1
+ PORT=3001
2
2
  HOST=0.0.0.0 # or IP - 192.168.1.1
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 Asggen
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.
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Asggen
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.
package/README.md CHANGED
@@ -1,94 +1,94 @@
1
- # AFront
2
-
3
- [![NPM Version][npm-version-image]][npm-url]
4
- [![afront](https://snyk.io/advisor/npm-package/afront/badge.svg)](https://snyk.io/advisor/npm-package/afront/badge.svg)
5
- [![install size](https://packagephobia.com/badge?p=afront)](https://packagephobia.com/result?p=afront)
6
- [![publish size](https://badgen.net/packagephobia/publish/afront)](https://www.npmjs.com/package/afront)
7
- [![NPM Downloads][npm-downloads-image]][npm-downloads-url]
8
- [![License][license-src]][license-href]
9
-
10
-
11
- **AFront** is a powerful framework for building scalable, high-performance web applications with ease. This README provides instructions on how to get started with the project.
12
-
13
- ## 🚀 Getting Started
14
-
15
- ### Prerequisites
16
-
17
- Before you begin, ensure you have the following installed:
18
-
19
- - **Node.js**: You must have Node.js installed on your system. Download it from the [Node.js official website](https://nodejs.org/).
20
-
21
- ### Installation
22
-
23
- 1. **Install AFront**
24
-
25
- - Open your terminal or command prompt.
26
- - To create a new project in a custom folder, run the following command:
27
- ```bash
28
- npx afront <your-folder-name>
29
- ```
30
- - To create the project in the current directory, run:
31
- ```bash
32
- npx afront .
33
- ```
34
-
35
- - Navigate to the root folder of the newly created project:
36
- ```bash
37
- cd path/to/your/project
38
- ```
39
-
40
- ### Running the Project
41
-
42
- - **For Development**: Start the development server:
43
- ```bash
44
- npm start
45
- ```
46
-
47
- ## For Server-Side Rendering (SSR) Production: Build and run the SSR version:
48
- ```bash
49
- npm run prod:ssr
50
- ```
51
- ## For Static Production: Build and serve the static version:
52
- ```bash
53
- npm run static
54
- ```
55
-
56
- ## 📄 Documentation
57
-
58
- For detailed documentation and usage instructions, please refer to the [Getting Started Guide](https://github.com/Asggen/afront/).
59
-
60
- ## 🤝 Contributing
61
-
62
- If you'd like to contribute to the project, please follow the guidelines in the [CONTRIBUTING.md](CONTRIBUTING.md).
63
-
64
- ## 📝 License
65
-
66
- This project is licensed under the [MIT](LICENSE).
67
-
68
- ---
69
-
70
- Thank you for using **AFront**! We look forward to seeing what you build with it. If you have any questions or need support, please open an issue on the [GitHub repository](https://github.com/Asggen/afront/issues).
71
-
72
-
73
- ```arduino
74
- This `README.md` file provides clear instructions on prerequisites, installation, and running the project in different environments. You can customize the links and details as needed for your specific project.
75
- ```
76
-
77
-
78
- ### Changes Made:
79
- 1. **Prerequisites**: Clarified that Node.js must be installed.
80
- 2. **Installation**: Added instructions to run `npx afront <your-folder-name>` to create a custom folder or `npx afront .` to create the project in the current directory.
81
- 3. **Running the Project**: This section remained the same.
82
-
83
- You can now use this updated `README.md` in your project.
84
-
85
-
86
-
87
- [npm-url]: https://npmjs.org/package/afront
88
- [npm-version-image]: https://badgen.net/npm/v/afront
89
- [npm-downloads-image]: https://badgen.net/npm/dm/afront
90
- [npm-downloads-url]: https://npmcharts.com/compare/afront?minimal=true
91
- [license-src]: https://badgen.net/github/license/Asggen/afront
92
- [license-href]: https://github.com/Asggen/afront/blob/main/LICENSE
93
-
94
-
1
+ # AFront
2
+
3
+ [![NPM Version][npm-version-image]][npm-url]
4
+ [![afront](https://snyk.io/advisor/npm-package/afront/badge.svg)](https://snyk.io/advisor/npm-package/afront/badge.svg)
5
+ [![install size](https://packagephobia.com/badge?p=afront)](https://packagephobia.com/result?p=afront)
6
+ [![publish size](https://badgen.net/packagephobia/publish/afront)](https://www.npmjs.com/package/afront)
7
+ [![NPM Downloads][npm-downloads-image]][npm-downloads-url]
8
+ [![License][license-src]][license-href]
9
+
10
+
11
+ **AFront** is a powerful framework for building scalable, high-performance web applications with ease. This README provides instructions on how to get started with the project.
12
+
13
+ ## 🚀 Getting Started
14
+
15
+ ### Prerequisites
16
+
17
+ Before you begin, ensure you have the following installed:
18
+
19
+ - **Node.js**: You must have Node.js installed on your system. Download it from the [Node.js official website](https://nodejs.org/).
20
+
21
+ ### Installation
22
+
23
+ 1. **Install AFront**
24
+
25
+ - Open your terminal or command prompt.
26
+ - To create a new project in a custom folder, run the following command:
27
+ ```bash
28
+ npx afront <your-folder-name>
29
+ ```
30
+ - To create the project in the current directory, run:
31
+ ```bash
32
+ npx afront .
33
+ ```
34
+
35
+ - Navigate to the root folder of the newly created project:
36
+ ```bash
37
+ cd path/to/your/project
38
+ ```
39
+
40
+ ### Running the Project
41
+
42
+ - **For Development**: Start the development server:
43
+ ```bash
44
+ npm start
45
+ ```
46
+
47
+ ## For Server-Side Rendering (SSR) Production: Build and run the SSR version:
48
+ ```bash
49
+ npm run prod:ssr
50
+ ```
51
+ ## For Static Production: Build and serve the static version:
52
+ ```bash
53
+ npm run static
54
+ ```
55
+
56
+ ## 📄 Documentation
57
+
58
+ For detailed documentation and usage instructions, please refer to the [Getting Started Guide](https://github.com/Asggen/afront/).
59
+
60
+ ## 🤝 Contributing
61
+
62
+ If you'd like to contribute to the project, please follow the guidelines in the [CONTRIBUTING.md](CONTRIBUTING.md).
63
+
64
+ ## 📝 License
65
+
66
+ This project is licensed under the [MIT](LICENSE).
67
+
68
+ ---
69
+
70
+ Thank you for using **AFront**! We look forward to seeing what you build with it. If you have any questions or need support, please open an issue on the [GitHub repository](https://github.com/Asggen/afront/issues).
71
+
72
+
73
+ ```arduino
74
+ This `README.md` file provides clear instructions on prerequisites, installation, and running the project in different environments. You can customize the links and details as needed for your specific project.
75
+ ```
76
+
77
+
78
+ ### Changes Made:
79
+ 1. **Prerequisites**: Clarified that Node.js must be installed.
80
+ 2. **Installation**: Added instructions to run `npx afront <your-folder-name>` to create a custom folder or `npx afront .` to create the project in the current directory.
81
+ 3. **Running the Project**: This section remained the same.
82
+
83
+ You can now use this updated `README.md` in your project.
84
+
85
+
86
+
87
+ [npm-url]: https://npmjs.org/package/afront
88
+ [npm-version-image]: https://badgen.net/npm/v/afront
89
+ [npm-downloads-image]: https://badgen.net/npm/dm/afront
90
+ [npm-downloads-url]: https://npmcharts.com/compare/afront?minimal=true
91
+ [license-src]: https://badgen.net/github/license/Asggen/afront
92
+ [license-href]: https://github.com/Asggen/afront/blob/main/LICENSE
93
+
94
+
@@ -1 +1 @@
1
- <!DOCTYPE ><html data-build="prod-8cc28e5e1d932d4ecbe78f03c4cee6d9b98733722bda94518d8ecd3dfa2d9d5f"><head><meta http-equiv="Content-Security-Policy" content="base-uri 'self'; object-src 'none'; script-src 'self' 'nonce-wD35/cqQBlhU4s75d79QsQ==' 'nonce-LF88zRZnEpW916DR26RPqg==' 'nonce-gaZO0GLzonvJQTuUruXaDA=='; style-src 'self' https://fonts.googleapis.com 'unsafe-hashes' 'nonce-AgIVyh7SFM2nOmTgQG0GuA==' 'nonce-nBONqt0VRNq1G7xSEmMSSw=='; default-src 'self'; style-src-elem 'self' https://fonts.googleapis.com https://fonts.gstatic.com; font-src 'self' https://fonts.gstatic.com"><meta charset="utf-8"></meta><meta name="viewport" content="width=device-width,initial-scale=1"></meta><title>AFront</title><meta name="title" content="Default title"></meta><meta name="description" content="Default description"></meta><meta name="keywords" content="default, keywords"></meta><link rel="stylesheet" href="style.css" nonce="AgIVyh7SFM2nOmTgQG0GuA=="></link><script src="inline.js" nonce="wD35/cqQBlhU4s75d79QsQ=="></script><script defer="defer" src="/static/js/99-ccf46a26c15904ecb674.js?3728db37c9fc45075c32" nonce="LF88zRZnEpW916DR26RPqg=="></script><script defer="defer" src="/static/js/main-397be3d2ec0a9db18d41.js?3728db37c9fc45075c32" nonce="gaZO0GLzonvJQTuUruXaDA=="></script><link href="/static/css/main-b7c0f6b3ea505263e9a2.css?3728db37c9fc45075c32" rel="stylesheet" nonce="nBONqt0VRNq1G7xSEmMSSw=="></link></head><body><asggenapp id="asggen"></asggenapp></body></html>
1
+ <!DOCTYPE ><html data-build="prod-d7131ef908e5cec4287c48c6fa25bea3755fe01e26b73dfaf23dcf3be6a666d3"><head><meta http-equiv="Content-Security-Policy" content="base-uri 'self'; object-src 'none'; script-src 'self' 'nonce-BnsGeoualWWIicIx97fqcg==' 'nonce-IYKuFUVsYbtRYyXdOdE0+A==' 'nonce-ItfGlHvEjUn+VQbYjNa1gA=='; style-src 'self' https://fonts.googleapis.com 'unsafe-hashes' 'nonce-WEIdtmfNqzF5DeBqHmjp4Q==' 'nonce-OhPZVSUrHyGP9OANcCvJjg=='; default-src 'self'; connect-src 'self' wss:; style-src-elem 'self' https://fonts.googleapis.com https://fonts.gstatic.com; font-src 'self' https://fonts.gstatic.com"><meta charset="utf-8"></meta><meta name="viewport" content="width=device-width,initial-scale=1"></meta><title>AFront</title><meta name="title" content="Default title"></meta><meta name="description" content="Default description"></meta><meta name="keywords" content="default, keywords"></meta><link rel="stylesheet" href="style.css" nonce="WEIdtmfNqzF5DeBqHmjp4Q=="></link><script src="inline.js" nonce="BnsGeoualWWIicIx97fqcg=="></script><script defer="defer" src="/static/js/99-ccf46a26c15904ecb674.js?1b0ea58673dec381b36e" nonce="IYKuFUVsYbtRYyXdOdE0+A=="></script><script defer="defer" src="/static/js/main-397be3d2ec0a9db18d41.js?1b0ea58673dec381b36e" nonce="ItfGlHvEjUn+VQbYjNa1gA=="></script><link href="/static/css/main-b7c0f6b3ea505263e9a2.css?1b0ea58673dec381b36e" rel="stylesheet" nonce="OhPZVSUrHyGP9OANcCvJjg=="></link></head><body><asggenapp id="asggen"></asggenapp></body></html>
@@ -1,25 +1,25 @@
1
- {
2
- "short_name": "Assgen Frontend",
3
- "name": "Create Assgen Frontend Sample",
4
- "icons": [
5
- {
6
- "src": "favicon.ico",
7
- "sizes": "64x64 32x32 24x24 16x16",
8
- "type": "image/x-icon"
9
- },
10
- {
11
- "src": "logo192.png",
12
- "type": "image/png",
13
- "sizes": "192x192"
14
- },
15
- {
16
- "src": "logo512.png",
17
- "type": "image/png",
18
- "sizes": "512x512"
19
- }
20
- ],
21
- "start_url": ".",
22
- "display": "standalone",
23
- "theme_color": "#000000",
24
- "background_color": "#ffffff"
25
- }
1
+ {
2
+ "short_name": "Assgen Frontend",
3
+ "name": "Create Assgen Frontend Sample",
4
+ "icons": [
5
+ {
6
+ "src": "favicon.ico",
7
+ "sizes": "64x64 32x32 24x24 16x16",
8
+ "type": "image/x-icon"
9
+ },
10
+ {
11
+ "src": "logo192.png",
12
+ "type": "image/png",
13
+ "sizes": "192x192"
14
+ },
15
+ {
16
+ "src": "logo512.png",
17
+ "type": "image/png",
18
+ "sizes": "512x512"
19
+ }
20
+ ],
21
+ "start_url": ".",
22
+ "display": "standalone",
23
+ "theme_color": "#000000",
24
+ "background_color": "#ffffff"
25
+ }