Setup Hanami with Sidekiq

Introduction Sidekiq is the standard in the Ruby ecosystem for background jobs. This short tutorial will show you how to set up Sidekiq in a Hanami application using Docker Compose. For the basic setup, please look at my previous tutorial: Getting Started with Hanami and Docker Compose. We’ll modify that demo application to support Sidekiq. Steps 1. Add the Sidekiq gem ⚡ bundle add sidekiq 2. Add a Sidekiq provider Add a Hanami provider for Sidekiq (config/providers/sidekiq. »

Getting Started with Hanami and Docker Compose

Introduction Hanami 2.0 is the perfect Ruby framework for building robust and fast API applications. The 2.0 version comes without a persistency layer (that will be a 2.2 feature). Today we’ll learn how to set up a Hanami app with a secure Redis instance using Docker Compose in a few steps. As a prerequisite, you’ll need Docker, cURL, Ruby 3.2+, and Hanami 2.0+. Steps 1. Generate the app Generate a new Hanami 2. »

Getting Started with Hanami and GraphQL

Introduction Hanami 2.0 is a productive Ruby framework that quickly supports you in building API applications. Today we will see how to get started with Hanami and GraphQL in ten steps. We will create the app and a simple code to support the GraphQL schema with a simple Query, including a request spec. The theme is a classic Star Wars schema. As a prerequisite, you’ll need Ruby 3.2 and Hanami 2. »