shot
💉 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
Repository
shot
Owner
Statistic
- 0
- 1
- 0
- 0
- 0
- about 6 years ago
- May 14, 2018
License
MIT License
Links
Synced at
Thu, 07 Nov 2024 16:23:44 GMT
Languages