@Application
@RestController
class DemoApp {
    
    @GetMapping("/")
    function home(): string {
        return "Welcome to NovaLang Framework Demo!";
    }
    
    @GetMapping("/api/hello")
    function hello(): string {
        return "Hello from NovaLang 2.1.0!";
    }
    
    @PostMapping("/api/data")
    function postData(): string {
        return "Data received successfully!";
    }
    
    function main(): void {
        console.log("🚀 NovaLang Demo Application Starting...");
        console.log("✅ Framework: NovaLang 2.1.0");
        console.log("🌐 Server: http://localhost:8080");
        console.log("📡 API Endpoints available");
        console.log("🎯 Features: Spring Boot-like annotations");
        console.log("💡 Ready to serve requests!");
        console.log("🌟 This is NovaLang - the future of programming!");
    }
}