added todos

This commit is contained in:
Bronku 2025-07-02 10:24:46 +02:00
parent b22701f32e
commit 66884c64bb
2 changed files with 14 additions and 2 deletions

12
TODO.md
View file

@ -14,6 +14,18 @@
- [ ] HTTPS
- [ ] Storing default login in config file/env variable
- [ ] Input Validation
- [ ] Saparate routing logic, and http handlers
- [ ] Better error Handling
- [ ] Migrate to gorm -> simplification of codebase
- [ ] Proper session auth ?
- [ ] /orders/search htmx trigger `<form class="search-container" hx-get="/orders/search" ...>`
- [ ] orders.gohtml remove inline css
- [ ] move style for order_fts into a separate css file
- [ ] containerization
- [ ] ci/cd pipeline (github actions)
- [ ] monitoring (prometheus, grafana)
- [ ] structured logs (JSON format), log formatter
- [ ] Phone number format validation
- [ ] Required fields validation

View file

@ -5,7 +5,7 @@ import "time"
type Cake struct {
Name string
ID int
Price int
Price int // increments of 0.01
Amount int
Category string
Availability string