add carts

This commit is contained in:
Daniel Goc
2026-03-24 14:47:20 +01:00
49 changed files with 1926 additions and 3374 deletions

View File

@@ -114,6 +114,10 @@ func (s *Server) Setup() error {
carts := s.restricted.Group("/carts")
restricted.CartsHandlerRoutes(carts)
s.api.All("*", func(c fiber.Ctx) error {
return c.SendStatus(fiber.StatusNotFound)
})
// // Restricted routes example
// restricted := s.api.Group("/restricted")
// restricted.Use(middleware.AuthMiddleware())