Building a Headless Mobile App CMS From Scratch

Find out how we built a custom headless CMS with Node, Express, and Firebase!

Brittany Chiang
Nov 12, 2019 · 11 min read

The Problem

The Solution

Nailing down the stack

Fair warning

Building out the API with Express

Adding security with middleware

Structuring data with models

Using Firestore

The Base Model

Child Models

Handling relational data in Firestore

Caching user sessions

Integrating third party APIs and data



Stories from the digital brand & product studio