feat: add health hander and healtchek to docker image and update cd pipline for backend
All checks were successful
Backend ci / build (push) Successful in 3m11s

This commit is contained in:
d3m0k1d
2026-02-11 15:31:52 +03:00
parent 0804e4e80a
commit 54436e9cba
3 changed files with 13 additions and 3 deletions

View File

@@ -10,6 +10,7 @@ import (
func Register(router *gin.Engine, db *sql.DB) {
handler_posts := NewPostHandlers(repositories.NewPostRepository(db))
handler_auth := NewAuthHandlers(repositories.NewAuthRepository(db))
router.GET("/health", func(c *gin.Context) { c.Status(200) })
v1 := router.Group("api/v1")
v1.GET("/callback/github", handler_auth.CallbackGithub)
v1.GET("/auth/github", handler_auth.LoginGithub)