# Moose / Templates Examples Documentation – Python
## Included Files
1. moose/templates-examples/templates-examples.mdx
## Templates & Apps
Source: moose/templates-examples/templates-examples.mdx
Browse templates and demo apps for MooseStack
# Templates & Apps
Moose provides two ways to get started: **templates** and **demo apps**. Templates are simple skeleton applications that you can initialize with `moose init`, while demo apps are more advanced examples available on GitHub that showcase real-world use cases and integrations.
**Initialize a template:**
```bash filename="Terminal" copy
moose init PROJECT_NAME TEMPLATE_NAME
```
**List available templates:**
```bash filename="Terminal" copy
moose template list
```
## Popular Apps
---
## Browse Apps
### Nextjs + Express + MCP demo app: Aircraft data [#plane-transponder-demo]
Complete demo application featuring real-time aircraft transponder data with MCP chat integration.
**Repository:** [https://github.com/514-labs/planes](https://github.com/514-labs/planes)
Key Features:
Next.js
Express
MCP
Moose OLAP
ClickHouse
---
### Postgres to ClickHouse CDC with Debezium [#postgres-clickhouse-cdc]
Easy-to-run demo of a CDC pipeline using Debezium, PostgreSQL, Redpanda, and ClickHouse.
**Repository:** [https://github.com/514-labs/debezium-cdc](https://github.com/514-labs/debezium-cdc)
**Blog Post:** [Code-First CDC to ClickHouse with Debezium, Redpanda, and MooseStack](https://www.fiveonefour.com/blog/cdc-postgres-to-clickhouse-debezium-drizzle)
Key Features:
CDC
Debezium
PostgreSQL
Redpanda
ClickHouse
Drizzle ORM
---
### User-facing analytics reference app (Postgres + Clickhouse + React) [#foobar-ufa]
A complete reference architecture showing how to add a dedicated analytics microservice to an existing application without impacting your primary database. Features Postgres + ClickHouse + React frontend with chat analytics.
**Repository:** [https://github.com/514-labs/area-code/tree/main/ufa](https://github.com/514-labs/area-code/tree/main/ufa)
Key Features:
PostgreSQL
ClickHouse
React
TanStack Query
Supabase
Moose OLAP
Moose Streaming
Moose APIs
Elasticsearch
Temporal
---
### User-facing analytics reference app (Clickhouse Cloud + React) [#foobar-ufa-lite]
A simplified version of the UFA architecture using ClickHouse Cloud + React frontend with chat analytics. This version demonstrates a cloud-native approach without local infrastructure dependencies.
**Repository:** [https://github.com/514-labs/area-code/tree/main/ufa-lite](https://github.com/514-labs/area-code/tree/main/ufa-lite)
Key Features:
ClickHouse Cloud
React
Moose OLAP
Moose APIs
---
## Browse Templates
### TypeScript (Default) [#typescript-default]
Default TypeScript project, seeded with foobar example components.
```bash filename="Terminal" copy
moose init PROJECT_NAME typescript
```
**Repository:** [https://github.com/514-labs/moosestack/tree/main/templates/typescript](https://github.com/514-labs/moosestack/tree/main/templates/typescript)
Key Features:
Moose APIs
Moose OLAP
Moose Streaming
Moose Workflows
---
### Python (Default) [#python-default]
Default Python project, seeded with foobar example components.
```bash filename="Terminal" copy
moose init PROJECT_NAME python
```
**Repository:** [https://github.com/514-labs/moosestack/tree/main/templates/python](https://github.com/514-labs/moosestack/tree/main/templates/python)
Key Features:
Moose APIs
Moose OLAP
Moose Streaming
Moose Workflows
---
### TypeScript (Empty) [#typescript-empty]
Empty TypeScript project with minimal structure.
```bash filename="Terminal" copy
moose init PROJECT_NAME typescript-empty
```
**Repository:** [https://github.com/514-labs/moosestack/tree/main/templates/typescript-empty](https://github.com/514-labs/moosestack/tree/main/templates/typescript-empty)
Key Features:
TypeScript
Moose OLAP
---
### Python (Empty) [#python-empty]
Empty Python project with minimal structure.
```bash filename="Terminal" copy
moose init PROJECT_NAME python-empty
```
**Repository:** [https://github.com/514-labs/moosestack/tree/main/templates/python-empty](https://github.com/514-labs/moosestack/tree/main/templates/python-empty)
Key Features:
Python
Moose OLAP
---
### Next.js (Empty) [#nextjs-empty]
TypeScript project with a Next.js frontend (empty).
```bash filename="Terminal" copy
moose init PROJECT_NAME next-app-empty
```
**Repository:** [https://github.com/514-labs/moosestack/tree/main/templates/next-app-empty](https://github.com/514-labs/moosestack/tree/main/templates/next-app-empty)
Key Features:
Next.js
TypeScript
Moose APIs
Moose OLAP
Moose Streaming
Moose Workflows
---
### Express.js [#express]
TypeScript project using Express for serving analytical APIs.
```bash filename="Terminal" copy
moose init PROJECT_NAME typescript-express
```
**Repository:** [https://github.com/514-labs/moosestack/tree/main/templates/typescript-express](https://github.com/514-labs/moosestack/tree/main/templates/typescript-express)
Key Features:
Express.js
TypeScript
Moose OLAP
Moose Streaming
Moose Workflows
---
### TypeScript MCP [#typescript-mcp]
TypeScript project with an MCP (Model Context Protocol) implementation using Express. The included example tool enables LLMs to query ClickHouse.
```bash filename="Terminal" copy
moose init PROJECT_NAME typescript-mcp
```
**Repository:** [https://github.com/514-labs/moosestack/tree/main/templates/typescript-mcp](https://github.com/514-labs/moosestack/tree/main/templates/typescript-mcp)
Key Features:
TypeScript
MCP
Express
Moose OLAP
Moose Streaming
Moose Workflows
---
### FastAPI [#fastapi]
Python project using FastAPI for serving analytical APIs.
```bash filename="Terminal" copy
moose init PROJECT_NAME python-fastapi
```
**Repository:** [https://github.com/514-labs/moosestack/tree/main/templates/python-fastapi](https://github.com/514-labs/moosestack/tree/main/templates/python-fastapi)
Key Features:
FastAPI
Python
Moose OLAP
Moose Streaming
Moose Workflows
---
### FastAPI (Client-Only) [#fastapi-client-only]
FastAPI client-only project using MooseStack libraries without requiring the Moose runtime.
```bash filename="Terminal" copy
moose init PROJECT_NAME python-fastapi-client-only
```
**Repository:** [https://github.com/514-labs/moosestack/tree/main/templates/python-fastapi-client-only](https://github.com/514-labs/moosestack/tree/main/templates/python-fastapi-client-only)
Key Features:
FastAPI
Python
Moose OLAP
Moose Streaming
Moose Workflows
---
### ADS-B (Aircraft Tracking) [#adsb]
Real-time aircraft transponder data tracking.
```bash filename="Terminal" copy
moose init PROJECT_NAME ads-b
```
**Repository:** [https://github.com/514-labs/moosestack/tree/main/templates/ads-b](https://github.com/514-labs/moosestack/tree/main/templates/ads-b)
Key Features:
Moose APIs
Moose OLAP
Moose Streaming
Moose Workflows
---
### ADS-B with Frontend [#adsb-frontend]
Real-time aircraft transponder data with a React frontend.
```bash filename="Terminal" copy
moose init PROJECT_NAME ads-b-frontend
```
**Repository:** [https://github.com/514-labs/moosestack/tree/main/templates/ads-b-frontend](https://github.com/514-labs/moosestack/tree/main/templates/ads-b-frontend)
Key Features:
Next.js
React
Moose APIs
Moose OLAP
Moose Workflows
---
### Live Heart Rate Leaderboard [#heartrate]
Live heart rate leaderboard inspired by F45 with Streamlit frontend.
```bash filename="Terminal" copy
moose init PROJECT_NAME live-heartrate-leaderboard
```
**Repository:** [https://github.com/514-labs/moosestack/tree/main/templates/live-heartrate-leaderboard](https://github.com/514-labs/moosestack/tree/main/templates/live-heartrate-leaderboard)
Key Features:
Streamlit
Python
Moose APIs
Moose OLAP
Moose Streaming
Moose Workflows