Now have a basic alpine.js page going and it's talking to the server to get json in a fake API.

This commit is contained in:
Zed A. Shaw 2025-05-28 00:26:43 -04:00
parent 9ed5c05cdf
commit f49608d74c
6 changed files with 63 additions and 37 deletions

14
main.go Normal file
View file

@ -0,0 +1,14 @@
package main
import (
"log"
"github.com/gofiber/fiber/v2"
)
func main() {
app := fiber.New()
app.Static("/", "./public")
log.Fatal(app.Listen(":5001"))
}