Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/syeopite/kemal-routing-utils
Kemal Routing Utils provides helper utilities to help define and organize routes for a Kemal application in a more structured manner
https://github.com/syeopite/kemal-routing-utils
crystal helper kemal utilities
Last synced: 16 days ago
JSON representation
Kemal Routing Utils provides helper utilities to help define and organize routes for a Kemal application in a more structured manner
- Host: GitHub
- URL: https://github.com/syeopite/kemal-routing-utils
- Owner: syeopite
- License: mit
- Created: 2024-12-24T01:51:57.000Z (17 days ago)
- Default Branch: master
- Last Pushed: 2024-12-24T02:07:02.000Z (17 days ago)
- Last Synced: 2024-12-24T02:43:13.483Z (17 days ago)
- Topics: crystal, helper, kemal, utilities
- Language: Crystal
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kemal-routing-utils
Kemal Routing Utils provides helper utilities to help define and organize
routes for an application in a more structured manner## Installation
1. Add the dependency to your `shard.yml`:
```yaml
dependencies:
kemal-routing-utils:
github: syeopite/kemal-routing-utils
```2. Run `shards install`
## Usage
```crystal
require "kemal"
require "kemal-routing-utils"class Routes < KemalRoutingUtils::AnnotationRouter
@[GET("/")]
def root(env)
"Hello world"
end
endRoutes.new
Kemal.run
```## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request## Contributors
- [syeopite](https://github.com/syeopite) - creator and maintainer