fix(front,back) Добавил на бек выгрузку категорий, начало разработки shop

This commit is contained in:
2026-06-09 15:42:18 +03:00
parent ea70e6914e
commit 04b1be4c54
5 changed files with 57 additions and 5 deletions
+1
View File
@@ -44,6 +44,7 @@ func main() {
protected.DELETE("/items/:id", handlers.DeleteItem)
protected.PATCH("/items/:id", handlers.UpdateItem)
protected.POST("/items", handlers.AddItem)
protected.GET("/getCategories", handlers.GetCategories)
}
admin := protected.Group("/")