new file: serv_nginx/api_bb/bin/bb_api

modified:   serv_nginx/api_bb/internal/routes/routes.go
	new file:   serv_nginx/api_bb/sqlite
add bb_api routing check endpoint and create Makefile
This commit is contained in:
2025-10-08 01:15:53 +05:00
parent 23d68e53ab
commit 5e77a36b6a
3 changed files with 12 additions and 8 deletions
Binary file not shown.
@@ -35,6 +35,10 @@ func SetupRouter(db *gorm.DB) http.Handler {
// API v1 routes
r.Route("/api/v1", func(r chi.Router) {
// Add the new /check route
r.Get("/check", func(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
})
r.Mount("/auth", authHandler.Routes())
// Здесь будут добавлены другие маршруты:
View File