feat: add dashboard summary endpoint and related models, queries, and services
This commit is contained in:
@@ -152,6 +152,11 @@ func NewRouter() *gin.Engine {
|
||||
alternativeComponent.PUT("/:id", utils.AsyncHandler(services.AlternativeComponentUpdate))
|
||||
alternativeComponent.DELETE("/:id", utils.AsyncHandler(services.AlternativeComponentDelete))
|
||||
}
|
||||
|
||||
dashboard := protected.Group(constants.API_GROUP_DASHBOARD)
|
||||
{
|
||||
dashboard.GET("/summary", utils.AsyncHandler(services.DashboardSummary))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user