bronku
|
7ee564f6b2
|
Move Cake struct to separate models package
|
2025-03-28 14:54:17 +01:00 |
|
bronku
|
e749e77a2a
|
updated TODO.md
|
2025-03-28 14:47:40 +01:00 |
|
bronku
|
b7072a5865
|
Add persistent session storage with SQLite
|
2025-03-28 14:44:46 +01:00 |
|
bronku
|
747d9fe3c7
|
Update TODO.md
|
2025-03-27 08:29:17 +01:00 |
|
bronku
|
06fb132993
|
Remove
|
2025-03-27 08:25:01 +01:00 |
|
bronku
|
47a1ec95b8
|
Add error logging and fix cake templates
|
2025-03-27 08:22:04 +01:00 |
|
bronku
|
d9bcdfe186
|
Implement SQL queries for cake updates and inserts
|
2025-03-27 08:08:45 +01:00 |
|
bronku
|
d70144c39a
|
Save new cake and fix navigation links
|
2025-03-26 15:10:33 +01:00 |
|
bronku
|
2857507fae
|
Add POST endpoint for creating new cakes
|
2025-03-26 14:42:48 +01:00 |
|
bronku
|
01732b97fc
|
Add single cake endpoint handler
|
2025-03-26 14:33:07 +01:00 |
|
bronku
|
f552e87a9d
|
Add cakes management page and routes
|
2025-03-26 13:38:42 +01:00 |
|
bronku
|
72ed1ae61b
|
Fix SQL casing and improve error handling
|
2025-03-26 13:26:26 +01:00 |
|
bronku
|
c0227e4e2d
|
Update .gitignore
|
2025-03-26 12:12:51 +01:00 |
|
bronku
|
066295bbe5
|
Cache cakes in memory and update SQL logic
|
2025-03-26 12:12:33 +01:00 |
|
bronku
|
4b2fcbc58a
|
Simplify error handling during startup
|
2025-03-23 21:58:34 +01:00 |
|
bronku
|
969dbfb1aa
|
Extract database migration logic to migrations.go
|
2025-03-23 21:45:24 +01:00 |
|
bronku
|
e5c5603ebd
|
Return error if cake not found in GetCake
|
2025-03-23 21:36:10 +01:00 |
|
bronku
|
922710a2cd
|
Refactor store: use migrations and split logic
|
2025-03-23 19:54:01 +01:00 |
|
bronku
|
376edd7267
|
Add error handling for token key generation
|
2025-03-23 10:51:07 +01:00 |
|
bronku
|
e2dda0ade7
|
Reorganize project structure and fix SQLite usage
|
2025-03-23 10:45:42 +01:00 |
|
bronku
|
0e762841a3
|
Refactor postOrder to render confirmation page
|
2025-03-23 00:25:38 +01:00 |
|
bronku
|
47323b32f8
|
Refactor: Fetch handler to return status code
|
2025-03-22 23:53:38 +01:00 |
|
bronku
|
a7bd1478bf
|
Refactor server: use render func for templates
|
2025-03-22 23:46:33 +01:00 |
|
bronku
|
ca4e448f82
|
Refactor handler to server package
|
2025-03-22 22:35:47 +01:00 |
|
bronku
|
fb97ba20c0
|
Refactor routing and middleware architecture
|
2025-03-22 11:22:45 +01:00 |
|
bronku
|
08d41b0348
|
Refactor router initialization into constructor
|
2025-03-22 08:57:19 +01:00 |
|
bronku
|
4830fbc870
|
Move handler code to router package and rename types
|
2025-03-22 08:49:46 +01:00 |
|
bronku
|
a70d5a8548
|
moved logger into middleware
|
2025-03-21 23:39:12 +01:00 |
|
bronku
|
e75468ce55
|
Move database code to store package
|
2025-03-21 23:35:55 +01:00 |
|
bronku
|
d1c393736a
|
update todo
|
2025-03-21 23:19:52 +01:00 |
|
bronku
|
ab662bd4b8
|
Add session management for user authentication
|
2025-03-21 23:13:14 +01:00 |
|
bronku
|
e235e3d8a8
|
Login form handling
|
2025-03-21 20:37:25 +01:00 |
|
bronku
|
8b5ac8c19f
|
Add login form
|
2025-03-21 20:34:36 +01:00 |
|
bronku
|
ab01a459af
|
Replace request counter with basic auth/token system
|
2025-03-21 20:05:30 +01:00 |
|
bronku
|
c504f8c597
|
Add authentication middleware to HTTP handlers
|
2025-03-21 19:38:42 +01:00 |
|
bronku
|
5d6bbdb943
|
xd?
|
2025-03-21 18:53:11 +01:00 |
|
bronku
|
2f96ca3105
|
Merge branch 'database' of github.com:Bronku/iroon into database
|
2025-03-21 18:52:25 +01:00 |
|
bronku
|
b61bae7cd8
|
Separate db initialization from store opening
|
2025-03-21 18:50:53 +01:00 |
|
bronku
|
2dad3f1305
|
Separate db initialization from store opening
|
2025-03-21 18:50:26 +01:00 |
|
bronku
|
646501d609
|
Update store.go
|
2025-03-20 12:29:05 +01:00 |
|
bronku
|
a950df6ceb
|
show order contents properly
|
2025-03-20 12:28:19 +01:00 |
|
bronku
|
b85bbe6e55
|
Handle errors in getOrder
|
2025-03-20 10:43:19 +01:00 |
|
bronku
|
262b586d0a
|
Implement getCake endpoint and update memdb
|
2025-03-20 10:35:39 +01:00 |
|
bronku
|
d5c6cd4dc0
|
Update README.md
|
2025-03-20 07:47:04 +01:00 |
|
bronku
|
e0a41a13e9
|
Update TODO.md
|
2025-03-20 07:42:42 +01:00 |
|
bronku
|
34e2d8c01a
|
Implement order items
|
2025-03-20 07:41:27 +01:00 |
|
bronku
|
605ea31fe1
|
update tests
|
2025-03-19 22:10:43 +01:00 |
|
bronku
|
23647d74fc
|
Switch from in-memory to SQLite storage
|
2025-03-19 11:59:08 +01:00 |
|
bronku
|
e55ca30d20
|
Add status field to orders
|
2025-03-18 22:30:16 +01:00 |
|
bronku
|
d4b76f6307
|
Create TODO.md
|
2025-03-18 22:02:22 +01:00 |
|