frontend and backend base setup

This commit is contained in:
2024-11-13 16:43:32 +01:00
parent 338adc3b6f
commit 0db2a0c647
56 changed files with 9427 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
package main
import (
"actatempus_backend/internal/infrastructure/persistence/config"
"actatempus_backend/internal/interfaces/http"
"fmt"
"log"
)
func main() {
// Lese die Konfiguration ein
cfg, err := config.LoadConfig(".")
if err != nil {
log.Fatalf("could not load config: %v", err)
}
// Starte den HTTP-Server
server := http.NewServer(cfg)
fmt.Println("Starting ActaTempus server on port 8080...")
if err := server.Start(); err != nil {
log.Fatalf("server failed to start: %v", err)
}
}