Skip to content

scottserok/soft_and_crunchy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Soft & Crunchy

A web server written in Ruby using Sinatra and a Sidekiq backend processing jobs written in Crystal.

Installation

In the web directory, run bundle install to install dependencies.

In the worker directory, run make to build the binaries.

Usage

To start the Ruby web server: cd web && rackup

To start the Sidekiq server: cd worker && bin/sidekiq

To start the Sidekiq web dashboard: cd worker && bin/web

Open up http://localhost:9292 to have the Ruby web process queue up a job in Redis. The job will be processed by the Crystal worker. Open up http://localhost:3000 to see the Sidekiq dashboard update the number of jobs processed.

About

Ruby web + Crystal worker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published