OpsHub API: Go Backend for Project Operations by jeet shahOpsHub API: Go Backend for Project Operations by jeet shah

OpsHub API: Go Backend for Project Operations

Portfolio project
jeet shah
A Go rewrite of a Node.js backend, built with a layered structure (handlers, services, repositories). It exposes REST endpoints for projects, tasks, employees, vacations, calendar, notifications and activity logs, with JWT auth and Google account integration. Real-time updates run over WebSocket and Socket.IO. It also handles file uploads, backups and transactional email, with Firebase/Firestore as the data store. Stack: Go, Gin, Firestore, WebSockets, JWT, Google OAuth.
Request flow: Firebase token check, RBAC permissions, then handler, service and repository down to Firestore.
Request flow: Firebase token check, RBAC permissions, then handler, service and repository down to Firestore.
Routes are grouped by resource, with auth and permission middleware chained per route (from cmd/server/main.go).
Routes are grouped by resource, with auth and permission middleware chained per route (from cmd/server/main.go).
93 REST routes across tasks, projects, vacation, calendar, notifications and more, plus a WebSocket endpoint.
93 REST routes across tasks, projects, vacation, calendar, notifications and more, plus a WebSocket endpoint.
Layered Go structure: middleware, handlers, services and repositories, with packages for Firebase, WebSocket, email and uploads.
Layered Go structure: middleware, handlers, services and repositories, with packages for Firebase, WebSocket, email and uploads.

0 likes · 0 views · Nov 15, 2026

Rewrote a Node.js backend in Go with a layered design, JWT and Google auth, real-time updates and Firestore storage. Built solo.

Tags