collinenlucy.nl/server/main.go
2025-06-26 16:16:33 +02:00

18 lines
236 B
Go

package main
import (
"net/http"
_ "github.com/mattn/go-sqlite3"
)
func main() {
ntfy := SetupNtfyClient()
db := SetupDatabase()
SetupRsvpsTable(db)
SetupAuth()
hnd := &Handler{db, ntfy}
http.ListenAndServe(":8000", hnd)
}