Files
web_server/vue
Adam French 18b50f1ce6
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 28s
Split admin login into its own route and add auth guard to /admin
- Add /admin/login route for Login.vue as a standalone page
- Add requiresAdmin guard to /admin route
- Update auth guard redirect to /admin/login with redirect query param
- Update nginx @auth_denied to redirect to /admin/login
- Remove Login component from Admin.vue; drop v-if auth checks (guard handles access)
- Remove stale view files from old views/ structure (moved in prior commit)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 11:19:10 +01:00
..
2026-03-27 14:30:48 +00:00

My Web - Frontend

Vue 3 SPA for adam-french.co.uk. Built with Vite, Tailwind CSS v4, Pinia, and Vue Router.

Setup

npm install

Development

npm run dev

The Vite dev server proxies API requests:

  • /api -> http://localhost:8080 (Go backend)
  • /gitea -> http://localhost:3000 (Gitea)
  • /radio -> http://localhost:8000 (Icecast2)

Production Build

npm run build

In production, the built dist/ is served by Nginx inside a Docker container (see ../Dockerfile).

VS Code + Vue (Official) (and disable Vetur).