Commit f58e1b91 authored by Giannis Kepas's avatar Giannis Kepas
Browse files

cleanup project

parent db0ca32f
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -4,10 +4,5 @@ NEXTAUTH_URL=
NEXTAUTH_URL_INTERNAL=http://localhost:3000
AUTH_TRUST_HOST=true

POSTGREST_ENDPOINT=
NEXT_PUBLIC_POSTGREST_ENDPOINT=

# MQTT Client
MQTT_URL=mqtts://
MQTT_USER=
MQTT_PASS=
POSTGREST_ENDPOINT=https://smart-cities.ece.uowm.gr/pgrest/
NEXT_PUBLIC_POSTGREST_ENDPOINT=https://smart-cities.ece.uowm.gr/pgrest/
+1 −1
Original line number Diff line number Diff line
# syntax=docker.io/docker/dockerfile:1

FROM node:18-alpine AS base
FROM node:20-alpine AS base

# Install dependencies only when needed
FROM base AS deps
+14 −16
Original line number Diff line number Diff line
import { roboto } from '@/app/ui/fonts';
import { fetchLatestMeasurements, fetchLatestSensor, fetchActiveSensorsStatus } from '@/app/lib/data';
import MeasurementCards from '@/app/ui/components/MeasurementCards';
import ActiveSensorsGauge from '@/app/ui/components/ActiveSensorsGauge';
import DebugLatest from '@/app/ui/components/DebugLatest';
import MeasurementsHeader from '@/app/ui/components/MeasurementsHeader';
+81 −80
Original line number Diff line number Diff line
@@ -462,7 +462,8 @@ function ChartComponent({
            intersect: false
          },
          plugins: {
            legend: { display: false
            legend: {
              display: false
            },
            tooltip: {
              enabled: true,
+1 −2
Original line number Diff line number Diff line
import { Metadata } from 'next';
import { roboto } from '@/app/ui/fonts';

import ClientPredictions from './clientpredictions2'; // 👈 your current client-side UI
import ClientPredictions from './clientpredictions2';

export const metadata: Metadata = {
  title: 'Predictions',
Loading