gohttpserver/internal/handlers
sneak f7ab09c2c3 Add Blog Posts CRUD with SQLite
- Add modernc.org/sqlite (pure Go, no CGO)
- Create models package with Post struct
- Implement SQLite connection and schema auto-creation
- Add CRUD methods to database package
- Create post handlers with JSON API
- Register API routes: GET/POST/PUT/DELETE /api/v1/posts
- Set default DBURL to file:./data.db with WAL mode
2025-12-27 12:43:30 +07:00
..
handlers.go Replace zerolog with log/slog from stdlib 2025-12-27 12:02:05 +07:00
healthcheck.go latest 2023-01-28 19:05:02 -08:00
index.go Replace zerolog with log/slog from stdlib 2025-12-27 12:02:05 +07:00
login.go Replace zerolog with log/slog from stdlib 2025-12-27 12:02:05 +07:00
now.go latest 2023-01-28 19:05:02 -08:00
panic.go latest 2023-01-28 19:05:02 -08:00
posts.go Add Blog Posts CRUD with SQLite 2025-12-27 12:43:30 +07:00
signup.go Replace zerolog with log/slog from stdlib 2025-12-27 12:02:05 +07:00