| title | Quick Start |
|---|---|
| description | Get started with ObjectStack in under 5 minutes. Choose your path based on your role and goals. |
import { Code, Layers, Palette, Zap } from 'lucide-react';
Welcome to ObjectStack! This quick start guide will help you get up and running based on your role and what you want to accomplish.
} title="I want to build an app" href="./quick-start/build-first-app" description="Complete tutorial: Build a task management app in 10 minutes" /> } title="I'm a backend developer" href="./quick-start/backend-developers" description="Learn how to define Objects, Fields, and Business Logic" /> } title="I'm a frontend developer" href="./quick-start/frontend-developers" description="Understand Views, Pages, and UI Components" /> } title="I'm a platform architect" href="./quick-start/architects" description="Deep dive into the protocol architecture and design decisions" />ObjectStack is a metadata-driven protocol that lets you define your entire application—data models, business logic, and UI—as type-safe JSON/TypeScript configurations.
// Define a data model
export const Task = ObjectSchema.create({
name: 'task',
label: 'Task',
fields: {
title: Field.text({ label: 'Title', required: true }),
status: Field.select({
label: 'Status',
options: ['todo', 'in_progress', 'done']
}),
due_date: Field.date({ label: 'Due Date' }),
}
});That's it! You've just defined a complete data model with:
- ✅ TypeScript type safety
- ✅ Runtime validation (via Zod)
- ✅ Automatic API generation
- ✅ Database schema migration
- ✅ Admin UI generation
| Traditional Approach | ObjectStack Protocol |
|---|---|
| Write Models + Controllers + Views | Define metadata once |
| SQL migrations by hand | Auto-generated from schema |
| Build CRUD APIs manually | REST/GraphQL auto-generated |
| Hardcoded UI components | Server-driven UI from JSON |
| Scattered business logic | Declarative rules & workflows |
npm install @objectstack/spec zod- Quick & Practical: Build Your First App - Hands-on tutorial
- Conceptual Understanding: Core Concepts - Philosophy and architecture
- Complete Reference: Developer Guides - Comprehensive documentation
- CRM Example - Full-featured application
- Todo Example - Minimal quick-start
Build CRUD applications with complex business logic in hours, not weeks.
Replicate Salesforce-like functionality with complete customization.
Define approval flows, state machines, and automation rules declaratively.
One codebase, infinite customizations through metadata configuration.
- Documentation: You're reading it! Use the search bar above.
- GitHub Issues: Report bugs or request features
- Examples: Browse the
/examplesdirectory in the repository