tarik is an open-source SaaS boilerplate combining Rails 8 (API mode) and Next.js 16, pre-wired with JWT auth via Devise, Stripe payments, EN/JA i18n, PostgreSQL, Redis, Sidekiq, Docker, GitHub Actions CI, and Railway deployment. It targets developers who want to skip repetitive setup and start building product immediately. Key design decisions include a frontend-agnostic Bearer token auth model, service-object-based payment logic, and an AGENTS.md file to help AI coding agents navigate the codebase. It also includes a migration guide from Stripe to PAY.JP for the Japanese Ruby ecosystem.

9m read timeFrom github.com
Post cover image
Table of contents
What is tarik?Why tarik?What's includedPrerequisitesQuick startProject structureAuthWhy Next.js?Paymentsi18nAPI conventionsRunning testsDeploymentEnvironment variablesGuidesContributingLicense
756 Impressions