Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces the initial public read API for organizations, posts, and impact reports, including new repository layers, HTTP handlers with pagination, and a CLI command for seeding demo data. Documentation and the Makefile have been updated to reflect these additions. The review feedback suggests several technical refinements: using COALESCE in SQL queries to prevent scanning errors on NULL values, pre-allocating slice capacities to optimize memory usage, and refactoring a duplicated helper function into a shared package to improve maintainability.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 78bb3ee14e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
kelompok seed demoplus Makefile/docs updates so the public MVP has data to render.Public endpoints
Validation
make testgo mod tidygo run ./cmd/kelompok helpgit diff --checkkelompok seed demoagainst the dev database/readyz,/api/v1/organizations?limit=1,/api/v1/organizations/gerakan-hijau-nusantara/posts,/api/v1/organizations/gerakan-hijau-nusantara/impact-reports, and/api/v1/posts/first-neighborhood-climate-labagainst the local API connected to dev DBRefs #3