Commit graph

6 commits

Author SHA1 Message Date
erius 9631ff6363 Minor README change 2024-06-27 04:42:48 +03:00
erius bdccada628 Added README 2024-06-27 04:41:51 +03:00
erius 8fce488888 Implemented pagination for posts, comments and replies
TODO: use dataloaders to reduce amount of sql queries (figure out how to batch query nested paginated data) and add some basic unit or integrated testing
2024-06-27 04:28:18 +03:00
erius e0aa12b126 Separated graphql schema into multiple files and moved them to graph/schema dir, update the gqlgen.yml accordingly
Removed unnecesary bindings for ID and Int in gqlgen.yml
Minor changes to Makefile docker-clean target
Reduced docker-compose postgres healthcheck interval for faster local db connections
Added pagination to graphql schema, the paginated queries are WIP
Removed unneeded fields from the model structs
Added allowComment check when adding comments
Switched gorm logger to Info mode
App now panics if the specified APP_STORAGE in env doesn't exist
Reworked database methods, still barely working and are WIP
2024-06-26 04:45:04 +03:00
erius ab4c41c7f3 Added init log messages 2024-06-25 03:19:53 +03:00
erius 1161a56ec9 First commit 2024-06-25 02:34:10 +03:00