package main

func main() {
	launchFrontend()
}

package main

import (
	"github.com/grsakea/kappastat/backend"
)

func main() {
	launchBackend()
	launchFrontend()
}

func launchBackend() *backend.Controller {
	c := backend.SetupController("twitch")
	go c.Loop()
	return c
}

--- 
+++ 
@@ -1,16 +1,5 @@
 package main
 
-import (
-	"github.com/grsakea/kappastat/backend"
-)
-
 func main() {
-	launchBackend()
 	launchFrontend()
 }
-
-func launchBackend() *backend.Controller {
-	c := backend.SetupController("twitch")
-	go c.Loop()
-	return c
-}
Remove launch backend from frontend
