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.
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.
AGENTS.md file that tells coding agents to:
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.
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
npm install
cd functions && npm install && cd ..
cp .env.example .env.local
Then fill in:
npm run dev
firebase login
firebase use --add
These power the browser-side integration:
NEXT_PUBLIC_ENABLE_APPIZERNEXT_PUBLIC_APPIZER_APP_IDNEXT_PUBLIC_APPIZER_API_BASENEXT_PUBLIC_APPIZER_WEB_SDK_URLNEXT_PUBLIC_APPIZER_DEBUGThese power server routes and privileged operations:
APPIZER_API_KEYAPPIZER_SERVER_APP_IDAPPIZER_API_BASEAPPIZER_MCP_API_KEYThe starter includes these local routes:
GET /api/appizer/healthPOST /api/appizer/usersPOST /api/appizer/eventsPOST /api/appizer/analytics/queryPOST /api/appizer/audiencesPOST /api/appizer/notifications/pushThese keep Appizer secrets out of the browser.
This repo includes AGENTS.md, so coding agents should:
Appizer is included by default, but it is not hard-coupled.
Set:
NEXT_PUBLIC_ENABLE_APPIZER=false
Delete or undo:
components/appizer/*lib/appizer/*app/api/appizer/*AppizerBootstrap in app/layout.tsxAppizerExamplePanel in app/dashboard/page.tsx.env.exampleapphosting.yamlAGENTS.mdUpdate apphosting.yaml for your project and domain, then set required secrets.
npm run deploy:functions
npm run deploy:rules