This is a test app that will be deleted for testing internal notification system
Skykit is a high-performance web framework for building web applications for The Skyscape. This is based on The Skyscape Devtools, which provides the set of tools we use for building and deploying The Skyscape's web services.
To get started first create a new project and install skykit:
mkdir my-project
cd my-project
go mod init my-project
go get https://theskyscape.com/repo/skykit@main
Next, create a new file main.go and add the following code:
package main
import (
"net/http"
"theskyscape.com/repo/skykit"
)
func main() {
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("Hello, World!"))
})
skykit.Serve(nil)
}
Finally, run the application:
go run main.go
Visit http://localhost:5000 to see the result.