So mit neuen UI Ideen und so

Dieser Commit ist enthalten in:
Claude Project Manager
2025-09-22 20:54:57 +02:00
Ursprung 6b9b6d4f20
Commit 26f95d2e4a
29 geänderte Dateien mit 5321 neuen und 1325 gelöschten Zeilen

32
docs/SMOKE_TESTS.md Normale Datei
Datei anzeigen

@ -0,0 +1,32 @@
SkillMate Smoke Tests (Manual)
Environment
- Ensure backend starts: `npm run dev` in `backend`
- Ensure frontend starts: `npm run dev` in `frontend`
- Optional admin panel: `npm run dev` in `admin-panel`
Checklist
1) Auth/Login
- POST /api/auth/login with valid admin (admin/admin123)
- Expect 200, token present, user role admin
2) Employees (public list)
- GET /api/employees/public (with token)
- Expect 200, array payload
3) Employees (CRUD minimal)
- POST /api/employees with minimal valid payload
- Expect 201, id present
- GET /api/employees/:id returns same data
- PUT /api/employees/:id updates simple field, expect 200
- DELETE /api/employees/:id expect 200
4) Skills
- GET /api/skills expect 200, array
5) Settings
- GET /api/admin/settings expect 200 (with admin)
Notes
- In production, JWT_SECRET must be set or backend refuses to start.