starter

Appizer Firebase Starter Kit

A polished Next.js + Firebase starter kit with Appizer built in by default and removable by design.

This repo is for builders who want a real head start: auth, data, hosting, event tracking, user sync, analytics hooks, and AI-agent guidance already in place.

Why this starter exists

Most starters stop at auth and a blank dashboard.

This one goes further:

The goal is simple: help you ship faster without painting you into a corner.

What you get

Core stack

Appizer layer

AI-agent guardrails

Positioning

This is a good fit if you want:

This is not meant to lock you into Appizer forever. It is intentionally structured so Appizer starts on by default but can be removed cleanly.

Project structure

app/
  api/appizer/*           # Secure server routes for Appizer operations
  dashboard/page.tsx      # Starter dashboard demo surface
  layout.tsx              # Global providers + Appizer bootstrap
components/
  appizer/*               # Appizer UI/bootstrap components
lib/
  appizer/*               # Appizer config, client, and server helpers
  firebase/*              # Firebase auth/data/storage helpers
functions/
  src/index.ts            # Firebase Functions examples
AGENTS.md                 # Instructions for AI coding agents

Quick start

1. Install dependencies

npm install
cd functions && npm install && cd ..

2. Configure environment variables

cp .env.example .env.local

Then fill in:

3. Run the app

npm run dev

4. Optional: configure Firebase locally

firebase login
firebase use --add

Appizer integration details

Public/client env vars

These power the browser-side integration:

Secret/server env vars

These power server routes and privileged operations:

Built-in Appizer routes

The starter includes these local routes:

These keep Appizer secrets out of the browser.

How AI coding agents should work here

This repo includes AGENTS.md, so coding agents should:

Removing Appizer cleanly

Appizer is included by default, but it is not hard-coupled.

Fast disable

Set:

NEXT_PUBLIC_ENABLE_APPIZER=false

Full removal

Delete or undo:

Deployment

Firebase App Hosting

Update apphosting.yaml for your project and domain, then set required secrets.

Cloud Functions

npm run deploy:functions

Rules

npm run deploy:rules

Notes