6595e345a2
feat(01-foundation-01): viper config loader and SPA fallback fix
...
- Add internal/config/config.go with viper-backed Config struct
- Explicit BindEnv calls for reliable env var -> config mapping (mapstructure v2 compat)
- Config loads from config.json + .env, env vars take precedence
- Add config.json with non-secret defaults (port, timeouts, URLs)
- Fix SPA fallback: spaHandler serves index.html for unknown paths (client-side routing)
- All 5 tests pass: TestHealth, TestLoadDefaults, TestLoadEnvOverride, TestLoadNetBoxURL
- Add Makefile with build/dev/test/clean targets
2026-04-10 01:27:54 +00:00
77e5a78d5a
feat(01-foundation-01): Go module init, chi server, go:embed SPA scaffold
...
- Initialize module git.georgsen.dk/hwlab with Go 1.23
- Install chi v5.2.5, go-redis v9.18.0, viper v1.21.0, godotenv v1.5.1, uuid v1.6.0, go-netbox v4.3.0
- Create health handler GET /api/health returning {status:ok, version:0.1.0}
- Create chi router with Logger/Recoverer/RealIP middleware and SPA fallback
- Embed web/dist via assets.go at module root (go:embed cannot use .. paths)
- Create stub web/dist/index.html with ClickHouse dark theme
- TestHealth passes
2026-04-10 01:17:03 +00:00
b1e4db0b6d
docs(01): fix plan checker blockers (research resolution, catalog updater)
2026-04-10 01:11:41 +00:00
c9ad50fdf2
docs(01-foundation): create phase 1 plans (5 plans, 2 waves)
...
Plans 01-02 are Wave 1 (parallel). Plans 03-04-05 are Wave 2.
All 11 requirements covered: INF-01, INF-02, INF-03, NB-01 through NB-07.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 01:07:55 +00:00
73eec3ee76
docs(phase-1): add validation strategy
2026-04-10 00:58:10 +00:00
104663dd19
docs(phase-1): research foundation phase — Go scaffold, NetBox, DragonFlyDB WAQ
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 00:57:19 +00:00
477624dcd3
docs(01): auto-generated context (infrastructure phase)
2026-04-10 00:49:04 +00:00
56d3b4da12
chore: add environment config
2026-04-10 00:48:19 +00:00
1a51cbc323
docs: create roadmap (7 phases)
2026-04-10 00:04:27 +00:00
f7e5e72686
docs: define v1 requirements
2026-04-10 00:01:35 +00:00
5d7c5e90a2
docs: complete project research
2026-04-09 23:35:26 +00:00
1374c3bc3b
chore: add project config
2026-04-09 22:40:53 +00:00
ff93f4f744
docs: initialize project
2026-04-09 22:35:48 +00:00