Skip to main content
Firebase Express SDK is an npm library that connects your Express.js application to Firebase Firestore. Define your collections once and get fully functional GET, POST, PUT, PATCH, and DELETE endpoints — with built-in request validation — without writing repetitive boilerplate.

Quick Start

Install the SDK and have your first Firestore endpoint running in under 5 minutes.

Core Concepts

Understand collections, document attributes, and how actions map to HTTP endpoints.

Guides

Step-by-step walkthroughs for GET, POST, PUT, PATCH, DELETE, filtering, and sorting.

API Reference

Full reference for the constructor options, action config, and response format.

How it works

1

Install the SDK

Add firebase-express-sdk to your Express project with npm.
2

Configure your collections

Define the Firestore collections you want to expose and their document attributes.
3

Add actions

Map HTTP methods and endpoints to your collections with addActions().
4

Start your server

Your Firestore-backed endpoints are live and ready to use.
Firebase Express SDK uses the Firebase Admin SDK under the hood. You need a Firebase service account key to authenticate — see the Quick Start for setup instructions.