shot

Version, currently 0.11 version
  • 0.1latestOct 6, 2018

github.com/SeedyROM/shot

A simple microservice web framework.

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  shot:
    github: SeedyROM/shot
    version: ~> 0.1

Then run:

shards install

shard.yml

Crystal
0.24.2
License
MIT
Author
Zack Kollar

Dependencies

This version declares no dependencies.

README

💉 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

  1. Fork it ( https://github.com/SeedyROM/shot/fork )
  2. Create your feature branch (git checkout -b feature/my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin feature/my-new-feature)
  5. Create a new Pull Request

Contributors

  • SeedyROM Zack Kollar - creator, maintainer