// Package main is the entry point for the {{COMPONENT_NAME}} service.
package main

import (
	"{{GO_MODULE}}/pkg/app"
	"{{GO_MODULE}}/services/{{COMPONENT_NAME}}/internal/api"
)

func main() {
	// Create application
	application := app.New("{{COMPONENT_NAME}}", app.WithDefaultPort({{PORT}}))

	// Register routes
	api.RegisterRoutes(application)

	// Start server
	application.Run()
}
