💉 shot
Shot is a microframework designed for fast web development, inspired by Flask and Kemal.
Installation
Add this to your application's shard.yml
:
dependencies:
shot:
github: SeedyROM/shot
Usage
require "shot"
That's it!
Example
require "shot"
get "/" do |ctx|
ctx.response.puts("Hello world!")
end
Shot.start # Default to listening on localhost:5000!
Contributing
- Fork it ( https://github.com/SeedyROM/shot/fork )
- Create your feature branch (git checkout -b feature/my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin feature/my-new-feature)
- Create a new Pull Request
Contributors
- SeedyROM Zack Kollar - creator, maintainer