docs: add PROJECT_MAP, AGENTS.md; add PROJECT_MAP update rule to CLAUDE.md
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
# CLAUDE.md – helldivers
|
||||
|
||||
## Overview
|
||||
Port: 3012
|
||||
Type: Authenticated Multiplayer App (WebSocket, SQLite, ELO-Rating, Bcrypt, Helmet)
|
||||
|
||||
## Running
|
||||
```bash
|
||||
node server.js # Produktion
|
||||
npm run dev # Entwicklung
|
||||
```
|
||||
|
||||
## Structure
|
||||
```
|
||||
helldivers/
|
||||
├── server.js # Express + WebSocket (ws) + SQLite (better-sqlite3)
|
||||
├── public/app.js # Gesamte Client-Logik (~1840 Zeilen)
|
||||
├── public/styles.css
|
||||
├── public/index.html
|
||||
├── scripts/ # DB-Migrations / Seed
|
||||
└── data/helldivers.db
|
||||
```
|
||||
|
||||
## Deployment
|
||||
- Runs under PM2 on the host
|
||||
- Nginx reverse-proxies to port 3012
|
||||
|
||||
## Branches
|
||||
- `main` – stable, production-ready code
|
||||
- `bugfixes-features` – active development
|
||||
|
||||
## Commit Convention
|
||||
`type: short description`
|
||||
Types: `feat`, `fix`, `refactor`, `docs`, `chore`
|
||||
|
||||
## PROJECT_MAP.md – Pflege
|
||||
|
||||
Falls Funktionen, API-Routen, WebSocket-Message-Types oder State-Variablen **hinzugefügt, geändert oder entfernt** werden, muss `PROJECT_MAP.md` **vor dem Commit** aktualisiert werden. Gilt für beide KIs (Claude und Codex) gleichermaßen.
|
||||
|
||||
## Changelog
|
||||
- Nach jeder Änderung `CHANGELOG.md` aktualisieren
|
||||
- Format: `## [Unreleased]` für laufende Änderungen
|
||||
Reference in New Issue
Block a user