kemal-routing-utils
kemal-routing-utils
Kemal Routing Utils provides helper utilities to help define and organize routes for an application in a more structured manner
Installation
-
Add the dependency to your
shard.yml
:dependencies: kemal-routing-utils: github: syeopite/kemal-routing-utils
-
Run
shards install
Usage
require "kemal"
require "kemal-routing-utils"
class Routes < KemalRoutingUtils::AnnotationRouter
@[GET("/")]
def root(env)
"Hello world"
end
end
Routes.new
Kemal.run
Contributing
- Fork it (https://github.com/syeopite/kemal-routing-utils/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- syeopite - creator and maintainer
Repository
kemal-routing-utils
Owner
Statistic
- 0
- 0
- 1
- 0
- 1
- 29 days ago
- December 24, 2024
License
MIT License
Links
Synced at
Tue, 21 Jan 2025 11:08:08 GMT
Languages