composed6/services/api/cmd/server/main.go
jordan e6993db729
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Add service component: api
2026-02-01 20:05:24 +00:00

19 lines
366 B
Go

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