Quickstart
Get Schemaful running locally in under 5 minutes.
Prerequisites
Before you begin, make sure you have:
- • Node.js 22+ installed
- • pnpm package manager (or npm/yarn)
- • A PostgreSQL database (local or hosted)
Don't have a database? We recommend Neon (free tier available) or Supabase.
1. Create a New Project
Run the create command to scaffold a new Schemaful project:
npx create-schemaful@latest my-cmsThis creates a new directory with the Schemaful app and all dependencies.
2. Configure Database
Create a .env file in your project root:
DATABASE_URL=postgresql://user:password@host:5432/databaseReplace with your actual PostgreSQL connection string.
3. Initialize Database
Run the database migration to create the required tables:
cd my-cms
pnpm db:pushThis creates the CMS tables: locales, schemas, fields, entries, and assets.
4. Start Development Server
Launch the development server:
pnpm devOpen http://localhost:3000 to access the Schemaful dashboard.
5. Create Your First Schema
In the dashboard, go to Schemas → Create Schema and define a content type:
- Enter a schema ID (e.g.,
blog-post) - Add a display name (e.g., "Blog Post")
- Add fields: title (Symbol), content (RichText), slug (Symbol)
- Save the schema
6. Create Content
Go to Entries → Create Entry, select your schema, and add content. Your content is now stored in PostgreSQL and accessible via the API.
Next Steps
- • Learn about schemas and field types
- • Explore the tRPC API
- • Deploy with Docker or Vercel