Auth-Playground

Lern- und Portfolio-Projekt. Demonstriert moderne Auth-Mechanismen, ihre typischen Vulnerabilities und das Engineering-Mindset wann man was einsetzt.

Svelte Vite TypeScript Tailwind CSS Go

Current Status

Phase 1 Foundation is done:

  • Go backend with /health endpoint
  • Svelte frontend fetching backend health status
  • Vite proxy for local development
  • Docker Compose setup for running frontend and backend together

Run locally without Docker

Backend

cd backend
go run ./cmd/server

Backend runs on:

http://localhost:1337

Health check:

curl http://localhost:1337/health

Frontend

cd frontend
pnpm install
pnpm dev

Frontend runs on:

http://localhost:5173

Run with Docker Compose

From the project root:

docker compose up --build

Then open:

http://localhost:5173

Expected result:

Backend status: ok

Quality Checks

Docker-based checks

Backend tests:

docker compose run --rm backend-test

Frontend checks:

docker compose run --rm frontend-check

Wichtig

Nach Änderung testen:

docker compose run --rm backend-test
docker compose run --rm frontend-check
docker compose up --build
S
Description
No description provided
Readme 108 KiB
Languages
Go 32%
JavaScript 18.7%
TypeScript 15.1%
Svelte 13.7%
Dockerfile 11.6%
Other 8.9%