feat: init frontend

This commit is contained in:
Nicolas Meienberger
2025-08-11 21:21:26 +02:00
parent 672f9097e1
commit 173858343e
51 changed files with 5053 additions and 871 deletions

View File

@@ -11,6 +11,7 @@ import (
"net/http"
"os"
"github.com/gin-contrib/cors"
"github.com/gin-gonic/gin"
"github.com/rs/zerolog/log"
)
@@ -38,6 +39,7 @@ func main() {
gin.SetMode(gin.ReleaseMode)
router := gin.New()
router.Use(cors.Default())
router.Use(core.GinLogger())
router.Use(gin.Recovery())