---
title: "ActiveAdmin"
description: "1 posts about ActiveAdmin, summarised, each linking to the original."
---

# ActiveAdmin
> 1 posts about ActiveAdmin, summarised, each linking to the original.

## Articles

### [Modern Web Stack: Rails 5 API, ActiveAdmin, and Create React App on Heroku](https://yomu.fyi/post/modern-web-stack-rails-5-api-activeadmin-and-create-react-app-on-herok.md)
- Company: [Heroku](https://yomu.fyi/company/heroku.md)
- Author: Charlie Gleason
- Published: May 16, 2018
- Type: Tutorial

Modern Rails applications can combine a Rails 5 API-only backend, ActiveAdmin for CMS capabilities, and a Create React App frontend in one Heroku-hosted project. The tutorial addresses the tension between Rails API mode, which omits views and middleware, and ActiveAdmin’s need to serve HTML and use cookies, flash, sessions, and assets. It restores those pieces by switching ApplicationController to ActionController::Base, adding forgery protection and middleware, reintroducing sprockets, and defining a separate ApiController that retains ActionController::API. The frontend uses Create React App, API proxying during development, React Router for client-side routes, and a build process that serves the compiled app from Rails on Heroku, including a React 404 for unmatched paths. A smoothie-recipes example demonstrates the resulting setup.
