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

@Application
class AutoGeneratedApplication {
    
    @GetMapping("/")
    function home(): string {
        return "🚀 Welcome to novalang-ecommerce-demo!";
    }
    
    @GetMapping("/health")
    function health(): string {
        return "UP";
    }
    
    function main(): void {
        console.log("");
        console.log("  _   _                 _                    ");
        console.log(" | \\ | | _____   ____ _| |    __ _ _ __   __ _ ");
        console.log(" |  \\| |/ _ \\ \\ / / _` | |   / _` | '_ \\ / _` |");
        console.log(" | |\\  | (_) \\ V / (_| | |__| (_| | | | | (_| |");
        console.log(" |_| \\_|\\___/ \\_/ \\__,_|_____\\__,_|_| |_|\\__, |");
        console.log("                                        |___/ ");
        console.log("");
        console.log("🚀 NovaLang Framework v2.1.0");
        console.log("📦 Application: novalang-ecommerce-demo");
        console.log("🎯 Version: 1.0.0");
        console.log("✅ Auto-generated application started!");
        console.log("🌐 Server running on http://localhost:8080");
        console.log("💾 Database connections established");
        console.log("🔐 Security configuration loaded");
        console.log("📡 REST endpoints registered");
        console.log("");
        console.log("📋 Available endpoints:");
        console.log("  GET  /                 - Application home");
        console.log("  GET  /health           - Health check");
        console.log("");
        console.log("💡 Application is ready to serve requests!");
        console.log("🔥 Auto-generated like Spring Boot - no manual main needed!");
    }
}
