Examples
Learn Blaze-ng through complete, working examples.
Beginner
| Example | Description |
|---|---|
| Todo App | Classic todo list with add, complete, delete, and filter |
| Counter | Simple reactive counter with increment/decrement |
Intermediate
| Example | Description |
|---|---|
| Chat App | Real-time chat with rooms, typing indicators, and message history |
| Forms | Form validation, dynamic fields, and multi-step wizards |
| Dashboard | Data dashboard with charts, filters, and real-time updates |
Advanced
| Example | Description |
|---|---|
| Dynamic Components | Plugin system, lazy loading, and runtime template registration |
| SSR | Server-side rendering with hydration |
Runnable Example Apps
The repository includes six complete, runnable example applications in the examples/ directory:
| Example | Stack | Description |
|---|---|---|
meteor-counter | Meteor | Simple reactive counter with ReactiveVar |
meteor-todos | Meteor + MongoDB | Todo list with full-stack reactivity |
meteor-ssr | Meteor + WebApp | Server-side rendering with shared templates |
standalone-counter | Vite | Counter using Blaze-NG as a pure npm library |
standalone-todos | Vite | Todo list with in-memory reactive store |
ssr | Express | Server-side rendering without Meteor |
See Running the Example Apps for setup instructions, project structures, and what each example demonstrates.