composed3/services/api/cmd/server/main.go
jordan ae453fbd06
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Add service component: api
2026-02-01 19:46:25 +00:00

19 lines
366 B
Go

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