BrickPull - Rails API + Amplify in One Afternoon

Built and hosted a Rails LEGO API on Heroku with a Next.js BrickPull UI on Amplify, including theme filters and a clean one-button UX.

I wanted the LEGO API to be simple and fast to ship, so I paired a Rails API on Heroku with a tiny Next.js front end on Amplify. The Rails app calls Rebrickable, logs requests, and exposes one endpoint: a random LEGO set. I later added lightweight theme filtering (City, Minecraft, Creator) so it matches the sets I actually care about. On the front end, it is one button, a couple theme toggles, a real error state with retry, and a small recent-pull history so it does not feel empty. Hosting is boring on purpose: Heroku for the API, Amplify for the UI. It is stable, predictable, and works without drama. Clean build. Clean deploy. Done.

Posted: March 28, 2026