update server boilerplate to use graphql

This commit is contained in:
Lakhan Samani
2021-07-08 17:45:19 +05:30
parent 9250257d9e
commit 592cede51f
13 changed files with 3006 additions and 64 deletions

View File

@@ -1,18 +0,0 @@
package main
import (
"log"
"yauth/router"
"github.com/gofiber/fiber/v2"
"github.com/gofiber/fiber/v2/middleware/cors"
)
func main() {
app := fiber.New()
app.Use(cors.New())
router.SetupRoutes(app)
log.Fatal(app.Listen(":3000"))
}