Commit Graph

24 Commits

Author SHA1 Message Date
H1K0 55986bab36 refactor(api): move authentication into a middleware 2025-01-06 20:17:07 +03:00
H1K0 521e140881 refactor: rename backend -> web 2025-01-06 19:25:06 +03:00
H1K0 7d38326112 init(api): add user logout handler 2025-01-06 18:43:12 +03:00
H1K0 3327dc6f18 init(api): add user get handler 2025-01-06 17:37:40 +03:00
H1K0 d2a6522157 init(backend): add getting user info 2025-01-06 17:37:05 +03:00
H1K0 f94fc2ad9a init(api): add user update handler 2025-01-06 17:15:41 +03:00
H1K0 a6e9665413 init(api): add quote update handler 2025-01-06 16:53:23 +03:00
H1K0 08ac117b5a fix(backend): fix quote update functions 2025-01-06 16:51:48 +03:00
H1K0 bb23987fff init(api): add quote delete handler 2025-01-06 16:23:03 +03:00
H1K0 568ffd1615 init(api): add quote add handler 2025-01-06 16:11:35 +03:00
H1K0 875452004d init(api): add single quote get handler 2025-01-06 15:23:19 +03:00
H1K0 14e88b2e2e fix(api): fix database error handler function 2025-01-06 15:19:25 +03:00
H1K0 82134a8cd2 refactor(api): rename database error handler function 2025-01-06 15:16:55 +03:00
H1K0 adcc7d22c3 style(api): correct bad request message in user authentication handler 2025-01-06 03:54:40 +03:00
H1K0 9a0b81fba3 refactor(api): move postgres error handling into a separate function in a separate file 2025-01-06 03:53:08 +03:00
H1K0 c7df4a1960 init(api): add quotes get handler 2025-01-06 03:39:41 +03:00
H1K0 9299062f69 init(api): add routes.go file and update go.mod and go.sum 2025-01-06 03:18:06 +03:00
H1K0 18064db60a init(api): add user authentication handler
also add error casting function to db.go
2025-01-06 03:17:34 +03:00
H1K0 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
H1K0 2049121e2a chore(backend): add go.mod and go.sum 2025-01-06 00:35:51 +03:00
H1K0 e0d54ac46d init(backend): add database interaction functions 2025-01-06 00:33:49 +03:00
H1K0 b8c3ed8e0f init(backend): add models 2025-01-05 23:53:37 +03:00
H1K0 3e5bff2cb5 init(bot): add Telegram bot 2025-01-05 23:51:45 +03:00
H1K0 bd3dae6226 init: add .gitignore 2025-01-05 23:49:56 +03:00