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:
parent
9ed5c05cdf
commit
f49608d74c
6 changed files with 63 additions and 37 deletions
14
main.go
Normal file
14
main.go
Normal 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"))
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue