{"repo":"jcflorville/rails-tanstack-starter","free":true,"listed":false,"github":"https://github.com/jcflorville/rails-tanstack-starter","clone":"git clone https://github.com/jcflorville/rails-tanstack-starter.git","description":"Production-ready monorepo template: Rails 8 API + Vite/React/TypeScript/TanStack Router & Query + Tailwind + Kamal 2 deploy","language":"Ruby","stars":19,"topics":["docker","kamal","monorepo","postgresql","rails","rails-api","react","ruby","saas","starter-template"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"rails-tanstack-starter A production-ready monorepo starter for SaaS products — Rails 8 API backend + Vite/React/TypeScript frontend with TanStack Router & Query, fully dockerized and deployable to a single VPS via Kamal 2. Overview • What's included • Quick start • Running tests • Deploy --- Overview Starting a new SaaS from scratch means wiring up the same things every time: auth, API conventions, error handling, CI, deploy config. This template eliminates that setup so you can focus on your product. It follows a clean separation of concerns — the Rails API and the React frontend are independent apps that share nothing except HTTP. Both live in the same repository and are orchestrated together with Docker Compose for local development. [!NOTE] This is a template repository, not a framework. It gives you a solid, opinionated starting point that you own entirely — no lock-in, no magic. What's included Authentication - Sign up, sign in, sign out — fully wired end to end - Password reset via time-limited email tokens - Session-based auth with HttpOnly cookies (no JWT, no token storage on the client) - Current.user pattern for accessing the authenticated user in controllers and services API layer (Rails) - Versioned REST endpoints under /api/v1/ - Thin controllers — all business logic lives in service objects - Blueprinter serializers — controllers never render raw models - Centralized error handling in BaseController : - ActiveRecord::RecordNotFound → 404 Not Found - ActionContr","default_branch":null,"files":null,"tree":[],"storefront":"/r/jcflorville","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jcflorville/rails-tanstack-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}