1
0

New build web

This commit is contained in:
Jose
2025-03-12 00:01:07 +01:00
parent ba51287c7a
commit 3b126c1704
5 changed files with 644 additions and 607 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -7,9 +7,35 @@
}, },
"appConfig": { "appConfig": {
"endpoints": { "endpoints": {
"baseUrl": "http://localhost:8081/api/v1", "BASE_URL": "http://localhost:8081/api/v1",
"sensors": "sensors", "GET_GROUPS": "/groups",
"sensor": "sensors/sensor" "GET_GROUP_BY_ID": "/groups/{0}",
"GET_GROUP_DEVICES": "/groups/{0}/devices",
"POST_GROUPS": "/groups",
"PUT_GROUP_BY_ID": "/groups/{0}",
"GET_DEVICES": "/devices",
"GET_DEVICE_BY_ID": "/devices/{0}",
"GET_DEVICE_SENSORS": "/devices/{0}/sensors",
"GET_DEVICE_LATEST_VALUES": "/devices/{0}/latest",
"GET_DEVICE_POLLUTION_MAP": "/devices/{0}/pollution-map",
"GET_DEVICE_HISTORY": "/devices/{0}/history",
"POST_DEVICES": "/devices",
"PUT_DEVICE_BY_ID": "/devices/{0}",
"GET_SENSORS": "/sensors",
"GET_SENSOR_BY_ID": "/sensors/{0}",
"GET_SENSOR_VALUES": "/sensors/{0}/values",
"POST_SENSORS": "/sensors",
"PUT_SENSOR_BY_ID": "/sensors/{0}",
"GET_ACTUATORS": "/actuators",
"GET_ACTUATOR_BY_ID": "/actuators/{0}",
"POST_ACTUATORS": "/actuators",
"PUT_ACTUATOR_BY_ID": "/actuators/{0}",
"GET_GPS_VALUES": "/gps-values",
"GET_GPS_VALUE_BY_ID": "/gps-values/{0}",
"POST_GPS_VALUES": "/gps-values",
"GET_AIR_VALUES": "/air-values",
"GET_AIR_VALUE_BY_ID": "/air-values/{0}",
"POST_AIR_VALUES": "/air-values"
}, },
"historyChartConfig": { "historyChartConfig": {
"chartOptionsDark": { "chartOptionsDark": {

View File

@@ -15,11 +15,11 @@
<meta name="twitter:image" content="https://contaminus.miarma.net/logo.png" /> <meta name="twitter:image" content="https://contaminus.miarma.net/logo.png" />
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon">
<title>ContaminUS</title> <title>ContaminUS</title>
<script type="module" crossorigin src="/assets/index-B9-ngIAm.js"></script> <script type="module" crossorigin src="/assets/index-ByqS16T9.js"></script>
<link rel="modulepreload" crossorigin href="/assets/react-vendors-DbHEDQBy.js"> <link rel="modulepreload" crossorigin href="/assets/react-vendors-DbHEDQBy.js">
<link rel="modulepreload" crossorigin href="/assets/leaflet-DYDK0jU3.js"> <link rel="modulepreload" crossorigin href="/assets/leaflet-DYDK0jU3.js">
<link rel="modulepreload" crossorigin href="/assets/chartjs-C6LAl0aW.js"> <link rel="modulepreload" crossorigin href="/assets/chartjs-C6LAl0aW.js">
<link rel="stylesheet" crossorigin href="/assets/index-DhzIL-fx.css"> <link rel="stylesheet" crossorigin href="/assets/index-lEmLSKa6.css">
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>