Skip to content

Commit b5cca4b

Browse files
committed
feat: add initial frontend project structure with configuration files and components
1 parent a42defe commit b5cca4b

733 files changed

Lines changed: 146144 additions & 24409 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.container/alertmanager/alerting_rules_mongo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ groups:
1111
description: El Exportador de Mongo ha estado caído por más de 1 minuto.
1212
- name: CPU Usage Alerts
1313
rules:
14-
- alert: HighCPUUsageMongoExporter
14+
- alert: ExportadorAltoUsCPUMongoDB
1515
expr: >-
1616
avg(rate(process_cpu_seconds_total{instance="mongo-exporter:9216"}[5m])
1717
* 1000) > 5
@@ -25,7 +25,7 @@ groups:
2525
en los últimos 5 minutos.
2626
- name: Memory Usage Alerts
2727
rules:
28-
- alert: HighMemoryUsageMongoExporter
28+
- alert: ExportadorAltoUsoMemoriaMongoDB
2929
expr: >-
3030
avg(rate(process_resident_memory_bytes{instance="mongo-exporter:9216"}[5m]))
3131
> 1 * 1024 * 1024

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ node_modules
44
postgres_data/
55
alertmanager.yml
66
.my.cnf
7-
Frontend-v1.rar
7+
Frontend-v1.rar
8+
sonar-project.properties

Frontend/.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 4
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

Frontend/.gitignore

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
.env
15+
.env.template
16+
17+
# Editor directories and files
18+
.vscode/*
19+
!.vscode/extensions.json
20+
.idea
21+
.DS_Store
22+
*.suo
23+
*.ntvs*
24+
*.njsproj
25+
*.sln
26+
*.sw?
27+
.vercel

Frontend/.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"semi": true,
3+
"singleQuote": true,
4+
"printWidth": 200
5+
}

Frontend/.scannerwork/.sonar_lock

Whitespace-only changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
projectKey=SecurityMonitoringFrontend
2+
serverUrl=http://127.0.0.1:9000
3+
serverVersion=10.6.0.92116
4+
dashboardUrl=http://127.0.0.1:9000/dashboard?id=SecurityMonitoringFrontend
5+
ceTaskId=6a874861-526b-4918-9110-bdad96f179f4
6+
ceTaskUrl=http://127.0.0.1:9000/api/ce/task?id=6a874861-526b-4918-9110-bdad96f179f4

Frontend/index.html

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<!DOCTYPE html>
2+
<html lang="en" dir="ltr">
3+
<head>
4+
<meta charset="utf-8" />
5+
<link rel="icon" href="/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<meta name="theme-color" content="#000000" />
8+
<meta name="description" content="Web site created using create-react-app" />
9+
<link rel="apple-touch-icon" href="/favicon.ico" />
10+
<!--
11+
manifest.json provides metadata used when your web app is installed on a
12+
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
13+
-->
14+
<!-- <link rel="manifest" href="/manifest.json" /> -->
15+
<!--
16+
Notice the use of %PUBLIC_URL% in the tags above.
17+
It will be replaced with the URL of the `public` folder during the build.
18+
Only files inside the `public` folder can be referenced from the HTML.
19+
20+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
21+
work correctly both with client-side routing and a non-root public URL.
22+
Learn how to configure a non-root public URL by running `npm run build`.
23+
-->
24+
<title>Security Monitoring</title>
25+
26+
<link rel="preconnect" href="https://fonts.googleapis.com" />
27+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
28+
29+
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
30+
</head>
31+
<body>
32+
<noscript>You need to enable JavaScript to run this app.</noscript>
33+
<div id="root"></div>
34+
<script type="module" src="/src/main.jsx"></script>
35+
<!--
36+
This HTML file is a template.
37+
If you open it directly in the browser, you will see an empty page.
38+
39+
You can add webfonts, meta tags, or analytics to this file.
40+
The build step will place the bundled scripts into the <body> tag.
41+
42+
To begin the development, run `npm start` or `yarn start`.
43+
To create a production bundle, use `npm run build` or `yarn build`.
44+
--></body>
45+
</html>

0 commit comments

Comments
 (0)