This commit is contained in:
2025-04-28 00:04:14 +02:00
parent 39a80829c9
commit 8858578f84
16 changed files with 758 additions and 1 deletions

19
cmd/server/main.go Normal file
View File

@@ -0,0 +1,19 @@
package main
import (
"fmt"
"log"
"net/http"
"pokeval/api"
"pokeval/config"
"pokeval/db"
)
func main() {
config.LoadEnv()
db.InitDB()
router := api.NewRouter()
fmt.Println("Server läuft auf Port 8080...")
log.Fatal(http.ListenAndServe(":8080", router))
}