// Auto-generated NovaLang Application
// This file is automatically created by NovaLang Framework
// Similar to Spring Boot's @SpringBootApplication

@Application
class novalangecommercedemoApplication {
    
    // Auto-generated REST endpoints
    @GetMapping("/")
    function home(): string {
        return "🚀 Welcome to novalang-ecommerce-demo!";
    }
    
    @GetMapping("/actuator/health")
    function health(): string {
        return "UP";
    }
    
    @GetMapping("/actuator/info")
    function info(): string {
        return "novalang-ecommerce-demo v1.0.0";
    }
    
    // Auto-generated main method - like Spring Boot
    function main(): void {
        console.log("");
        console.log("🚀 NovaLang Framework v2.1.0");
        console.log("📦 Application: novalang-ecommerce-demo");
        console.log("🎯 Version: 1.0.0");
        console.log("✅ Started novalangecommercedemoApplication");
        console.log("🌐 Server running on http://localhost:8080");
        console.log("📡 REST endpoints registered");
        console.log("");
        console.log("📋 Available endpoints:");
        console.log("  GET  /                 - Application home");
        console.log("  GET  /actuator/health  - Health check");
        console.log("  GET  /actuator/info    - Application info");
        console.log("");
        console.log("💡 Application is ready to serve requests!");
    }
}