Commit Graph

326 Commits

Author SHA1 Message Date
71cd17bb97 feat(database): make all database operation be methods instead of methods+structs
This is inspired by the output code generated by sqlc
2025-03-12 10:15:38 -03:00
9fbcbb96c0 fix(database): missing error join in database constructor 2025-03-12 10:14:38 -03:00
4aeeb8479b refactor(router): reorganize code in router constructor 2025-03-12 10:13:09 -03:00
6eb4825d1c feat(service): pass bucket name for service
This is probably temporaly, it would be better in the future to have a
abstraction on top of the S3 bucket, similar to the database
abstraction.
2025-03-12 10:12:33 -03:00
c8285833d4 feat: add groups to loggers 2025-03-12 10:06:06 -03:00
4ee46e2dc8 refactor(service): use service as struct instead of interface 2025-03-12 10:04:43 -03:00
3d346ca5fe fix(cmd): incorrect local database url 2025-03-12 10:01:59 -03:00
fca5ad29b9 feat(service,database): new Database abstraction to initiate and manipulate database 2025-03-11 14:19:21 -03:00
1c608b30be feat(service): pass context to service 2025-03-11 09:57:10 -03:00
789512f6e1 refactor(comicverse): rename context field to ctx 2025-03-11 09:56:26 -03:00
feaa21b827 chore: remove accidently commited empty .env 2025-03-11 09:47:39 -03:00
32329e1e17 feat: pass s3 client to service 2025-03-11 09:46:03 -03:00
2187848712 feat: pass sql database client to service 2025-03-11 09:45:41 -03:00
eb53285f03 feat(service): new service abstraction to directly interact with DBs and operations
This should make the router be just about HTML rendering, paramaters
validation and routing.
2025-03-11 09:40:48 -03:00
98c389cb0c fix: missing templates import 2025-03-07 20:52:02 -03:00
800412d315 feat: injection of templates into router 2025-03-07 20:51:43 -03:00
6e2664756b feat: static files injection into router 2025-03-07 20:48:11 -03:00
bc658d7dc8 refactor: new router module to comicverse app 2025-03-07 20:46:17 -03:00
5f88be7244 feat: comicverse app struc 2025-03-07 20:40:31 -03:00
4be737b292 fix: move main() function to cmd/cmd.go 2025-03-07 20:35:28 -03:00
b0c6d70406 fix: tailwind cli not properly watch files 2025-03-07 20:35:05 -03:00
fc757d36f0 feat: use cmd as main package 2025-03-07 20:34:31 -03:00
0ae642f17b feat: exit execution on error 2025-03-07 20:34:08 -03:00
145da05708 feat: rename host flag to hostname 2025-03-07 20:33:39 -03:00
8cb5ca3917 feat: remove proxy from live server 2025-03-07 20:32:57 -03:00
ee93e78b28 chore: remove unused index.html 2025-03-06 16:57:28 -03:00
f9e9d95c80 feat: dashboard endpoint 2025-03-06 16:56:31 -03:00
742287e522 feat: dashboard template 2025-03-06 16:56:21 -03:00
6ddba55413 chore: remove /panic endpoint 2025-03-06 16:56:01 -03:00
7de9126ea1 chore: remove /test endpoint 2025-03-06 16:55:41 -03:00
dc33adb733 feat: args func to pass multiple arguments to templates 2025-03-06 16:55:16 -03:00
6146819503 chore: remove test layout 2025-03-06 16:54:44 -03:00
ac4c681b7c feat: page layout 2025-03-06 16:54:36 -03:00
c25e8b0f1d feat: base layout 2025-03-06 16:54:14 -03:00
242559acc9 feat: add tailwindcss 2025-03-06 10:02:35 -03:00
c2bddbf32c chore: ignore .tmp folder 2025-03-06 10:02:13 -03:00
c5043a3527 style: format long line in New constructor 2025-03-06 09:45:01 -03:00
1351cd0cde refactor: import renamed excetion package 2025-03-05 13:52:00 -03:00
51bb55816c chore: update submodule 2025-03-05 13:47:05 -03:00
f13dc0fe0f feat: templates prototype 2025-03-05 13:45:19 -03:00
7b6796e2c1 feat: panic recovering on requests 2025-03-05 12:22:38 -03:00
4875f47f94 chore: rename routes log group to requests 2025-03-05 12:22:21 -03:00
fafd7f76bf chore: hotreloading on file change 2025-03-05 11:00:28 -03:00
489a696e82 feat: exceptions hello world 2025-03-05 10:43:42 -03:00
d2308b5a1b feat: hello world 2025-03-05 10:05:21 -03:00
1edc9c6ff0 chore: update submodule url 2025-03-04 17:42:05 -03:00
4063a6fb0d chore: fresh restart 2025-03-01 19:35:33 -03:00
e16e57f387 chore(deps): add loreddev/x submodule 2025-02-20 09:32:18 -03:00
f1e9468f09 refactor(router): rename parsePath to parsePattern 2024-12-18 14:13:26 -03:00
0af4ea3074 fix(router): trailing slash in mux rest pattern 2024-12-18 14:09:17 -03:00