github.com/alosaur/alosaur ↗
Alosaur - Deno web framework with many ES Decorators
Open this visualization on its own page →
About alosaur/alosaur
Alosaur is a web framework for Deno that brings MVC architecture and decorator-based patterns to server-side TypeScript development. It provides a comprehensive feature set including Areas for modular application structure, Controllers for request handling, and Middleware for filtering HTTP requests. The framework uses ES decorators extensively to simplify common tasks like defining routes, extracting query parameters, accessing cookies, and binding route parameters.
The framework includes built-in support for dependency injection across controllers and hooks, making it easy to manage application dependencies. It offers sophisticated security features including session management, authentication and authorization, OAuth integration, and customizable security strategies. Hooks provide a three-stage lifecycle for request processing with onPreAction, onPostAction, and onCatchAction phases that support dependency injection at the area, controller, and action levels.
Alosaur supports rendering pages with various template engines and can be deployed to Deno Deploy using a lighter version called Alosaur Lite. The project is designed for developers familiar with traditional MVC frameworks who want to leverage Deno's modern JavaScript runtime, and it includes comprehensive documentation and multiple examples to help users get started.