raisindb-content-modeling
RaisinDB Content Modeling
Define content schemas, page templates, and composable blocks using YAML files inside a RaisinDB package.
MANDATORY: After creating or modifying ANY .yaml or .node.yaml file in package/, immediately run:
npm run validate
Fix all errors before proceeding. Never skip validation.
1. NodeType YAML
NodeTypes define the data schema for content. Place files in package/nodetypes/.
Naming
Use namespace:PascalCase format: myapp:Article, launchpad:Page, shop:Product.
Full Example
More from maravilla-labs/raisindb
raisindb-sql
SQL syntax for querying RaisinDB workspaces: CRUD, JSONB properties, hierarchy queries, graph relations, full-text search. Use when writing queries in frontend or server-side functions.
3raisindb-auth
Authentication flows for RaisinDB apps: anonymous access, login, register, session management, auth state listeners. Use when adding authentication to your frontend.
3raisindb-translations
Multi-language content with translation files and locale-based queries. Use when adding internationalization to your RaisinDB app.
3raisindb-file-uploads
Upload, store, and display files using the raisin:Asset system. Covers single/batch uploads, progress tracking, signed URLs, and thumbnails. Use when adding file handling to your app.
3raisindb-frontend-react
Build a React Router frontend for your RaisinDB app with path-based routing, archetype-to-component mapping, and SSR-to-WebSocket upgrade. Use when creating a React frontend.
3raisindb-overview
Core concepts of RaisinDB content-driven applications. Use when building any RaisinDB app. Teaches: path-as-URL routing, archetype-to-component mapping, content modeling, project structure.
3