Rails & PhoenixOne-time

Gristmill

Rails backend with an Inertia and React front end, no separate API

About this starter

Gristmill is for Rails developers who want React screens without building a JSON API. Inertia Rails renders React pages straight from controllers, with TypeScript types generated from serializers. The kit includes email and Google sign-in, teams with roles, Stripe subscriptions through the Pay gem, a shadcn-style component library, background jobs with Sidekiq and an admin built in the same React stack.

It is opinionated about keeping routing and authorization in Rails, which means one source of truth for permissions. The limitation: two toolchains. You run Vite and Rails side by side, and some Rails conventions such as flash messages and form errors need small Inertia adapters that occasionally surprise new contributors.

Highlights

  • 01React pages rendered from Rails controllers
  • 02TypeScript types generated from serializers
  • 03Component library with dark mode

Tags

Related starters

More in Rails & Phoenix
  • Open-source Phoenix starter built on the Ash framework

    • ash
    • phoenix
    • graphql
    Open sourceFree
  • Phoenix LiveView SaaS starter with Oban jobs and Stripe billing

    • phoenix
    • liveview
    • elixir
    One-time$199 once
  • A plain, open-source Rails 8 starter you can read in an hour

    • rails
    • open source
    • minimal
    Open sourceFree
Live demo · Boilerplate Atlas— View template →