Add analytics dashboard view and API integration

- Add AnalyticsView.vue for real-time API analytics - Update router to
include /analytics route - Add Analytics link to BottomNav - Improve
MetricCard layout for dashboard consistency - Update main.ts to
initialize global auth store - Add Dockerfile and .env for
containerization and config - Update README with complete API and
architecture overview - Disable Tailwind in main.scss for SCSS-only
styling
This commit is contained in:
rafaeldpsilva
2025-09-18 14:28:01 +01:00
parent 05baaca23c
commit 32c63628b6
9 changed files with 759 additions and 5 deletions

22
Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM node:lts-alpine AS node
# install simple http server for serving static content
RUN npm install -g http-server
# make the 'app' folder the current working directory
WORKDIR /app
# copy both 'package.json' and 'package-lock.json' (if available)
COPY package*.json ./
# install project dependencies
RUN npm install
# copy project files and folders to the current working directory (i.e. 'app' folder)
COPY . .
# build app for production with minification
RUN npm run build
EXPOSE 8080
CMD [ "http-server", "dist" ]