From 5dc2f648cf3d9634cfb8763cebc6f1dec4042914 Mon Sep 17 00:00:00 2001 From: Bobby Date: Fri, 18 Apr 2025 19:28:01 +0530 Subject: basic anime details with episodes; added jikan and anilist as metadata fetchers; added tmdb for fetching episode descriptions --- router/router.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'router') diff --git a/router/router.go b/router/router.go index 1c48806..911ec63 100644 --- a/router/router.go +++ b/router/router.go @@ -10,6 +10,10 @@ func Initialize(router *fiber.App) { // Health router.Get("/health", controllers.HealthStatus) + // Anime routes + animeRouter := router.Group("/anime") + animeRouter.Get("/:mal_id", controllers.GetAnimeByMALID) + // 404 Default router.Use(func(c *fiber.Ctx) error { return c.Status(fiber.StatusNotFound).JSON(fiber.Map{ -- cgit v1.2.3