GoFr-SOC: Template Track – Chat Service #2008
talanayush
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
Hey @talanayush ! You can start with your implementation. In the first PR, set up three layer architecture structure and update readme with your architecture plan (endpoints and build a swagger around the same). After this create the PR and add me as the collaborator for review. |
Beta Was this translation helpful? Give feedback.
2 replies
-
@talanayush, Please address the review comments. talanayush/gofr-chat#1 (review) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello GoFr team,
I’ll be building a scalable WebSocket‑based chat service with real‑time messaging, persistent storage, user presence tracking, channel‑based rooms, and delivery acknowledgments. It will be packaged as a drop‑in GoFr module with a clean three‑layer architecture (Handler → Service → Store), fully tested, linted, and with CI/CD in place.
Github Repository : https://github.com/talanayush/gofr-chat
Week 1 Plan
Project setup, Health Check, and Basic WebSocket “Echo” Endpoints
Description
Initialize GoFr project with Handler/Service/Store structure
Add configuration management and
.golangci.yml
Implement
/health
endpoint (checks service + PostgreSQL connectivity)Scaffold WebSocket handler:
GET /ws/connect
upgrade to WebSocketWire up PostgreSQL & Redis clients in
main.go
(no persistence logic yet)Integrate
golangci-lint
and GitHub Actions CI for linting & testsDeliverables
{"status":"ok"}
and verifies DB connectionI’d love your feedback on this PR 1 plan and also kindly provide me with any resource that you think might help me with this project.
Beta Was this translation helpful? Give feedback.
All reactions