feat: add router

This commit is contained in:
axolotlmaid 2024-09-25 17:03:55 +01:00
parent cb61a2a8b7
commit 2357f645ce
4 changed files with 35 additions and 1 deletions

View file

@ -6,6 +6,8 @@ import (
"github.com/joho/godotenv"
"github.com/lmittmann/tint"
"backend/internal/server"
)
func main() {
@ -17,5 +19,5 @@ func main() {
slog.Error("Error loading .env file", slog.Any("error", err))
}
slog.Info("Starting server", slog.Any("port", os.Getenv("PORT")))
server.NewRouter()
}