jbrechtel
|
1a8a264eae
|
feat: add Sis.Database module with openDatabase
|
2026-07-15 15:55:04 -04:00 |
|
jbrechtel
|
bef88e789c
|
deps: add sqlite-simple
|
2026-07-15 15:54:50 -04:00 |
|
jbrechtel
|
efd2ccd14a
|
Add SQLite database implementation plan
|
2026-07-15 15:46:11 -04:00 |
|
jbrechtel
|
f5a6517f2c
|
Add SQLite database support design spec
|
2026-07-15 15:43:46 -04:00 |
|
jbrechtel
|
72b1ee1d3d
|
Add SPA static file serving from backend
Backend (Server.hs):
- serveStaticOrSpa: serves static files from --static-dir
- SPA fallback: extensionless paths serve index.html
- MIME type mapping for html/css/js/png/svg/ico/woff2
Frontend:
- ES module imports with import map for Mithril CDN
- Build script: tsc + copy index.html + static assets
CLI:
- --static-dir flag (default: frontend/dist)
- scripts/run passes through extra args
- Dockerfile CMD points at /usr/local/share/sis/static
|
2026-07-15 14:59:31 -04:00 |
|
jbrechtel
|
5075ef2718
|
Add neo-brutalist landing page
Title 'Sis' in nb-font-heading1, tagline 'For chores and stuff'
Warm cream background, centered nb-box layout
|
2026-07-15 14:52:49 -04:00 |
|
jbrechtel
|
72d94170b4
|
Initial project skeleton
Haskell backend: Orb HTTP framework, JSON-only API
Frontend: Mithril.js SPA with TypeScript, Neo Brutalism CSS
Dockerized build via flipstone/haskell-tools image
Routes:
GET /api/health — health check
Build: ./hs stack build
Test: ./hs stack test
Run: ./scripts/run
|
2026-07-15 14:51:27 -04:00 |
|