Skip to content

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

Stars

16 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages