test-comp-4610/services/api/cmd/server/main.go
jordan 7d2591dcfa
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Add service component: api
2026-02-01 08:30:15 +00:00

19 lines
376 B
Go

// Package main is the entry point for the api service.
package main
import (
"github.com/jordan/test-comp-4610/pkg/app"
"github.com/jordan/test-comp-4610/services/api/internal/api"
)
func main() {
// Create application
application := app.New("api", app.WithDefaultPort(8001))
// Register routes
api.RegisterRoutes(application)
// Start server
application.Run()
}