30 Commits

Author SHA1 Message Date
b3090f5dc0 fix(web): fix behavior on getting no quotes 2025-01-07 03:23:48 +03:00
838f089c69 fix(api): make search filter case insensitive 2025-01-07 03:16:10 +03:00
bddcd49d2a init(web): add quotes page 2025-01-07 02:58:04 +03:00
02b848a737 init(api): add getting total quotes count 2025-01-07 01:52:33 +03:00
37d40497d1 init(frontend): add frontend server
also add static files and auth page
2025-01-07 00:03:30 +03:00
cb14672113 refactor(api): make database error handler unexported 2025-01-06 20:19:37 +03:00
55986bab36 refactor(api): move authentication into a middleware 2025-01-06 20:17:07 +03:00
521e140881 refactor: rename backend -> web 2025-01-06 19:25:06 +03:00
7d38326112 init(api): add user logout handler 2025-01-06 18:43:12 +03:00
3327dc6f18 init(api): add user get handler 2025-01-06 17:37:40 +03:00
d2a6522157 init(backend): add getting user info 2025-01-06 17:37:05 +03:00
f94fc2ad9a init(api): add user update handler 2025-01-06 17:15:41 +03:00
a6e9665413 init(api): add quote update handler 2025-01-06 16:53:23 +03:00
08ac117b5a fix(backend): fix quote update functions 2025-01-06 16:51:48 +03:00
bb23987fff init(api): add quote delete handler 2025-01-06 16:23:03 +03:00
568ffd1615 init(api): add quote add handler 2025-01-06 16:11:35 +03:00
875452004d init(api): add single quote get handler 2025-01-06 15:23:19 +03:00
14e88b2e2e fix(api): fix database error handler function 2025-01-06 15:19:25 +03:00
82134a8cd2 refactor(api): rename database error handler function 2025-01-06 15:16:55 +03:00
adcc7d22c3 style(api): correct bad request message in user authentication handler 2025-01-06 03:54:40 +03:00
9a0b81fba3 refactor(api): move postgres error handling into a separate function in a separate file 2025-01-06 03:53:08 +03:00
c7df4a1960 init(api): add quotes get handler 2025-01-06 03:39:41 +03:00
9299062f69 init(api): add routes.go file and update go.mod and go.sum 2025-01-06 03:18:06 +03:00
18064db60a init(api): add user authentication handler
also add error casting function to db.go
2025-01-06 03:17:34 +03:00
68d5063dd9 refactor(backend): rename user functions in db.go
also rename Quote region to Quotes in db.go
2025-01-06 01:52:45 +03:00
2049121e2a chore(backend): add go.mod and go.sum 2025-01-06 00:35:51 +03:00
e0d54ac46d init(backend): add database interaction functions 2025-01-06 00:33:49 +03:00
b8c3ed8e0f init(backend): add models 2025-01-05 23:53:37 +03:00
3e5bff2cb5 init(bot): add Telegram bot 2025-01-05 23:51:45 +03:00
bd3dae6226 init: add .gitignore 2025-01-05 23:49:56 +03:00