added todos
This commit is contained in:
parent
b22701f32e
commit
66884c64bb
2 changed files with 14 additions and 2 deletions
12
TODO.md
12
TODO.md
|
|
@ -14,6 +14,18 @@
|
||||||
- [ ] HTTPS
|
- [ ] HTTPS
|
||||||
- [ ] Storing default login in config file/env variable
|
- [ ] Storing default login in config file/env variable
|
||||||
- [ ] Input Validation
|
- [ ] 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
|
- [ ] Phone number format validation
|
||||||
- [ ] Required fields validation
|
- [ ] Required fields validation
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import "time"
|
||||||
type Cake struct {
|
type Cake struct {
|
||||||
Name string
|
Name string
|
||||||
ID int
|
ID int
|
||||||
Price int
|
Price int // increments of 0.01
|
||||||
Amount int
|
Amount int
|
||||||
Category string
|
Category string
|
||||||
Availability string
|
Availability string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue