Skip to content

tkak/sinatra-sidekiq-example

Repository files navigation

sinatra-sidekiq-example

A simple API application with sinatra and sidekiq.

Usage

Run docker.

$ docker-machine start dev
$ docker-machine env dev

Run web and redis containers.

$ docker-compose build
$ docker-compose run -d

Use API

$ curl -X POST -H "Accept: application/json" http://`docker-machine ip dev`:5000/things -d '{"id": 1, "thing": "foo"}'
$ curl -X GET http://`docker-machine ip dev`:5000/things

About

A simple API application with sinatra and sidekiq

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages