You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
328 B
Go

package main
import (
"log"
"github.com/gofiber/fiber/v3"
)
func main() {
app := fiber.New(fiber.Config{
AppName: "Know Foolery - Question Bank Service",
})
app.Get("/health", func(c fiber.Ctx) error {
return c.JSON(fiber.Map{"status": "healthy", "service": "question-bank"})
})
log.Fatal(app.Listen(":8081"))
}