feat: Phase 3 campaign management

Campaign CRUD API with cascading delete across all campaign-scoped
tables, a systems endpoint to seed the create-campaign form, active
campaign state wired to the sidebar chaos factor, and a campaign
management view for creating/switching/deleting campaigns.
This commit is contained in:
claudecode
2026-06-30 23:22:34 -04:00
parent 2faa168847
commit 3a7340975f
9 changed files with 438 additions and 13 deletions
+12
View File
@@ -0,0 +1,12 @@
const express = require('express');
const db = require('../db');
const router = express.Router();
const listSystems = db.prepare('SELECT * FROM systems ORDER BY name');
router.get('/', (req, res) => {
res.json(listSystems.all());
});
module.exports = router;