Files
school-management-api/main.go
T

21 lines
305 B
Go

package main
import (
"github.com/SowinskiBraeden/school-management-api/routes"
"github.com/gofiber/fiber/v2"
"github.com/gofiber/fiber/v2/middleware/cors"
)
func main() {
app := fiber.New()
app.Use(cors.New(cors.Config{
AllowCredentials: true,
}))
routes.Setup(app)
app.Listen(":8000")
}