Praxis Tutorials
August 8, 2026 ยท View on GitHub
Hands-on tutorials for learning Praxis from scratch.
Tutorial snippets use console.log to show expected output. Replace these demonstration logs with structured tracing, such as OpenTelemetry, in production applications.
Focused Tutorial Series
Getting Started
Build a reactive task tracker using createApp, schema paths, rules, and constraints.
createAppsetupdefinePathschema- Rules and constraints
- Runnable snippets with expected output
Advanced Rules + Constraints
Compose multi-rule pipelines with ordered evaluation and system-wide constraints.
- Rule array evaluation order
- Fact reads from mutation results
defineConstraintinvariants- Constraint diagnostics
Cloud Sync + Auth Workflow
Synchronize state across devices with authentication gating and conflict resolution.
- Auth state machine
- PluresDB cloud relay
- Offline-first with reconciliation
- CRDT conflict resolution
Beginner Tutorials
Build Your First App
Create a simple counter application to learn the basics of Praxis.
- Setting up a project
- Defining facts and events
- Creating rules
- Connecting to UI
Todo with PluresDB
Build a local-first todo app with offline support.
- PluresDB integration
- Reactive queries
- Offline storage
- Sync when connected
Intermediate Tutorials
Form Builder
Create a dynamic form builder application.
- Complex schema composition
- Validation logic
- Component generation
- Drag-and-drop UI
E-commerce Cart
Build a shopping cart with checkout flow.
- Multi-step flows
- State machines
- Constraints and validation
- Payment integration patterns
Advanced Tutorials
Real-Time Chat
Create a chat application with Praxis Cloud sync.
- Cloud relay integration
- CRDT conflict resolution
- Presence and typing indicators
- Message history
Distributed Orchestration
Build a self-orchestrating distributed system.
- DSC/MCP coordination
- Node discovery
- State distribution
- Health monitoring
Quick Start Paths
For Web Developers
For Backend Developers
For Full-Stack Developers
Complete all tutorials in order!
Prerequisites
Before starting tutorials, ensure you have:
- Node.js 18+
- npm or yarn
- Basic TypeScript knowledge
- Text editor (VS Code recommended)
Getting Help
Start here: Build Your First App