# Draftbase > Draftbase is a lightweight, MDX-based headless CMS for React developers. ## Docs - [Home](https://draftbase.co/): Product overview and pitch - [Pricing](https://draftbase.co/pricing): Plans and pricing tiers - [Headless CMS](https://draftbase.co/headless-cms): Headless CMS use case - [React CMS](https://draftbase.co/react-cms): React-focused CMS use case - [MDX Editor](https://draftbase.co/mdx-editor): Rich MDX content editing - [Content Modeling](https://draftbase.co/content-modeling): Template/schema modeling - [Webhooks](https://draftbase.co/webhooks-integration): Webhook-based integrations - [MCP](https://draftbase.co/mcp): Model Context Protocol server for Draftbase - [Media CDN](https://draftbase.co/media-cdn): Image and video storage, processing, transcoding, and CDN delivery - [Frameworks](https://draftbase.co/frameworks): Framework support: native MDX rendering and the typed SDK - [Platform Admin](https://draftbase.co/platform-admin): Org roles, permissions, and team management - [MCP Docs](https://draftbase.co/docs/mcp): MCP server setup and tool reference - [API Reference](https://draftbase.co/docs/api-reference): REST API reference (versioned) - [Blog](https://draftbase.co/blog): Articles and product updates ## Machine-readable - [OpenAPI spec (JSON)](https://api.draftbase.co/swagger/json): Full REST API surface — paths, params, request/response schemas — always matching the live API. Fetch this directly instead of scraping the HTML reference. - [Webhook setup guide](https://draftbase.co/docs/api-reference#webhooks-setup): How to register a webhook via the dashboard or the API directly, event list, and signature verification. ## Tools - [Free tools](https://draftbase.co/tools): Hub for all free CMS/dev tools - [MCP Inspector](https://draftbase.co/tools/mcp-inspector): Test and inspect any MCP server - [llms.txt Generator](https://draftbase.co/tools/llms-txt-generator): Generate a valid llms.txt file - [JSON to TypeScript](https://draftbase.co/tools/json-to-typescript): Convert JSON to a TypeScript interface - [Slug Generator](https://draftbase.co/tools/slug-generator): Turn a title into a URL-safe slug - [Alt Text Generator](https://draftbase.co/tools/alt-text-generator): Draft alt text suggestions for an image - [Supabase RLS Checker](https://draftbase.co/tools/supabase-rls-checker): Test a Supabase project for tables exposed with no Row Level Security - [Public Key & Secret Scanner](https://draftbase.co/tools/key-scanner): Scan a live site for leaked API keys and secrets ## Research - [Headless CMS Pricing Database](https://draftbase.co/research/headless-cms-pricing): Sourced, dated pricing comparison across headless CMS vendors - [Headless CMS Pricing Database (JSON)](https://draftbase.co/research/headless-cms-pricing/data): Raw JSON dataset behind the pricing database ## Blog - [TypeScript Record, satisfies, Enums, and Tuples for Typed Content](https://draftbase.co/blog/typescript-record-satisfies-enums-tuples): When should you use Record, satisfies, enums, or tuples in TypeScript? Here's how each one guards your content types, with code we ran through tsc. - [JSON vs YAML vs JSONL: Which Format Should You Use?](https://draftbase.co/blog/json-vs-yaml-vs-jsonl): JSON vs YAML vs JSONL: JSON for APIs, YAML for config people edit, JSONL for logs and batch jobs. With real parser output and the Norway bug. - [Can JSON Have Comments? JSONC, JSON5, and Workarounds](https://draftbase.co/blog/can-json-have-comments): Can JSON have comments? No. Standard JSON rejects // and /* */. Here's how JSONC and JSON5 add them, and the safe workarounds for plain JSON files. - [How We Designed Draftbase's Content Model](https://draftbase.co/blog/how-we-designed-draftbases-content-model): We built our content model around entries, templates, and revisions. Here is what we got right, what we would redo, and why. - [Why Rich Text JSON Is Painful for React Developers](https://draftbase.co/blog/why-rich-text-json-is-painful-for-react-developers): Rich text JSON needs a serializer per node type, forever. Here's the real cost, and the case MDX doesn't win. - [How Draftbase's Content API Works](https://draftbase.co/blog/how-draftbases-content-api-works): A delivery API call hits auth, rate limits, a Mongo query, and a cache header. Here's the real request path, end to end. - [What Is Content Operations?](https://draftbase.co/blog/what-is-content-operations): What is content operations? See how it differs from strategy and CMS tools, plus the parts every real setup needs to run. - [What We Learned Building an MCP Server for a CMS](https://draftbase.co/blog/what-we-learned-building-an-mcp-server-for-a-cms): We built a 30-tool MCP server for our CMS. Here's what we learned about tool count, batching, and token cost along the way. - [Ecommerce Replatforming: When and How to Move Platforms](https://draftbase.co/blog/ecommerce-replatforming-when-and-how-to-move-platforms): See the signs it's time to replatform an ecommerce store, plus the steps and redirect map that keep search rankings safe. - [Why We Didn't Build a Visual Page Builder](https://draftbase.co/blog/why-we-didnt-build-a-visual-page-builder): Draftbase skipped the visual page builder. Here's why templates plus MDX components won out, and the one case where a page builder still wins. - [React Styling and UI Libraries: Tailwind, shadcn, and Component Kits](https://draftbase.co/blog/react-styling-and-ui-libraries): Tailwind CSS and shadcn/ui lead React styling in 2026. See setup steps, keyword picks for shadcn vs MUI and Chakra, and where Vue and Angular fit in. - [React Routing and Form Libraries Compared](https://draftbase.co/blog/react-routing-and-form-libraries-compared): React routing and form libraries, compared. React Router, React Hook Form, Zod vs Yup, and react-paginate: real picks for real apps. - [Why We Built Draftbase Around MDX](https://draftbase.co/blog/why-we-built-draftbase-around-mdx): Draftbase stores content as plain MDX, not a JSON tree. Here's why we made that call, and the real cost it carries. - [React Framework Comparisons: Svelte, Preact, Blazor, Flutter, and Htmx](https://draftbase.co/blog/react-framework-comparisons-svelte-preact-blazor-flutter-htmx): React vs Svelte, Preact, Blazor, Flutter, and Htmx, compared. Real bundle sizes and tradeoffs, plus which one fits your next build. - [Using Company Data for Sales Personalization](https://draftbase.co/blog/using-company-data-for-sales-personalization): Company data describes a business, not a person. See what it covers and how sales teams use it to write outreach that fits. - [What Is TypeScript? TypeScript vs JavaScript Explained](https://draftbase.co/blog/typescript-vs-javascript): TypeScript adds type checks to JavaScript before your code ships. TypeScript vs JavaScript: see the real gains, key types, and when to skip it. - [Demographic vs Geographic Segmentation: A Primer](https://draftbase.co/blog/demographic-vs-geographic-segmentation): Demographic segmentation groups people by who they are. Geographic segmentation groups them by where they live. See the real gap, and how to use both. - [What Is a REST API Endpoint?](https://draftbase.co/blog/what-is-a-rest-api-endpoint): What is a REST API endpoint? See the URL and method model, real design patterns, and why safe retries matter most. - [What Does `require` Do in JavaScript?](https://draftbase.co/blog/what-does-require-do-in-javascript): What does require do in JavaScript? See how it resolves, loads, and caches a module, and when to use import instead in 2026. - [Node.js and MongoDB: Connecting and Querying](https://draftbase.co/blog/nodejs-and-mongodb-connecting-and-querying): Node.js and MongoDB, connected the right way. See real pool settings, query patterns, and the bugs that break both in production. - [React vs React Native: Picking the Right Tool](https://draftbase.co/blog/react-vs-react-native): React vs React Native, explained simply. See the real gaps in styling, and how to pick the right one for your next build. - [What Is GraphQL Used For? Playground and Python Examples](https://draftbase.co/blog/what-is-graphql-used-for): GraphQL is a query language for APIs. See where it's used in production, what replaced Playground, and a working Python client example. - [GraphQL Queries and Requests Explained](https://draftbase.co/blog/graphql-queries-and-requests-explained): GraphQL queries and requests, explained. See how the language and the HTTP layer differ, plus when to use graphql-request or fetch. - [Headless CMS Development: Build In-House, Hire an Agency, or Use a Platform](https://draftbase.co/blog/headless-cms-development-build-hire-platform): Headless CMS development, priced out. See when to build in-house, hire an agency, or pick a platform, plus real 2026 cost ranges. - [How to Add a Headless CMS to a Lovable, Bolt, or v0 App](https://draftbase.co/blog/add-cms-to-vibe-coded-app): Add a headless CMS to a Lovable, Bolt.new, or v0 app in an afternoon. No rewrite. Just a content type, a read-only key, and one fetch call. - [Why Your Vibe-Coded App Needs a CMS (Not Just a Database)](https://draftbase.co/blog/vibe-coding-cms): Vibe-coded apps often hardcode content in components or Supabase. See why a headless CMS fixes that, and when it's not worth doing. - [How We Made CMS Content Work with React Server Components](https://draftbase.co/blog/cms-content-react-server-components): We use CMS content with React Server Components. The fetch is easy. What breaks is caching, stale links, and revalidation, not the fetch. - [Headless Commerce Platforms: What They Are and How to Pick One](https://draftbase.co/blog/headless-commerce-platforms): A headless commerce platform splits checkout and inventory from the storefront. See what MACH means, which platform fits your team, and where a CMS fits in. - [CMS Migration Guide: Moving to a Headless Model](https://draftbase.co/blog/cms-migration-guide-headless-model): A CMS migration to headless needs a redirect map before launch. Here are the seven steps that keep your rankings and content intact. - [Self-Hosted GitLab: When It Makes Sense](https://draftbase.co/blog/self-hosted-gitlab): Self-hosted GitLab: when it makes sense and when it does not. Real hardware requirements, why the license bill stays, and the one question that decides it. - [Headless Architecture Explained: Decoupled CMS Basics](https://draftbase.co/blog/headless-architecture-decoupled-cms-basics): Headless architecture splits a decoupled CMS from its frontend. See what headless, decoupled, and hybrid mean, and how to tell them apart. - [Headless Ecommerce CMS: What It Solves](https://draftbase.co/blog/headless-cms-for-ecommerce): A headless ecommerce CMS lets you edit content without a deploy. Here's what it fixes, what it doesn't, and where it earns its cost. - [GitHub vs GitLab (2026): Key Differences, Pricing, and CI/CD](https://draftbase.co/blog/github-vs-gitlab): GitHub vs GitLab compared on CI/CD, AI assistants, pricing, and self-hosting. See which platform fits your team, and what neither one solves. - [Git vs GitHub vs GitLab: Understanding the Stack](https://draftbase.co/blog/git-vs-github-vs-gitlab): Git vs GitHub vs GitLab explained: Git is the tool on your machine, the other two are hosts. See which layer owns what, and what actually locks you in. - [Headless CMS vs Traditional CMS: Which Wins](https://draftbase.co/blog/headless-cms-vs-traditional-cms): Headless CMS vs traditional CMS: which one fits a React app? Compare SEO control, setup cost, and when WordPress still wins. - [GraphQL API Endpoint: A Single Endpoint over HTTP](https://draftbase.co/blog/graphql-api-endpoint): A GraphQL API endpoint is a single URL that handles every query and mutation. Learn how it differs from REST, why it uses POST, and when each one fits. - [FastAPI vs Flask (2026): Choosing a Python API Framework](https://draftbase.co/blog/fastapi-vs-flask-python-framework): FastAPI vs Flask: which Python framework fits? FastAPI wins on speed, data validation, and automatic docs. Flask wins on simple setup and templates. - [Webhooks vs APIs: What's the Difference?](https://draftbase.co/blog/webhooks-vs-apis-difference): A webhook vs an API: what's the real difference? Webhooks push data the moment an event fires. APIs wait for your app to ask. - [REST API Development for Headless CMS](https://draftbase.co/blog/rest-api-development-headless-cms): How do you design a REST API for a headless CMS? Name things well, filter with query params, page with cursors, and pick one version scheme. - [API Call Example: What Is an API Call and How It Works](https://draftbase.co/blog/what-is-an-api-call): What is an API call? It's a request one program sends another over HTTP — see a call api example, plus methods, status codes, and rate limits. - [How to Use a Headless CMS with React](https://draftbase.co/blog/headless-cms-react-integration-guide): Using a headless CMS for React? Fetch it in a Server Component, cache with ISR, and revalidate on publish instead of on a fixed timer. - [Best Headless CMS for Ecommerce in 2026](https://draftbase.co/blog/best-headless-cms-ecommerce-2026): The best ecommerce CMS in 2026 isn't a full platform. It's a content layer next to Shopify or Stripe. Here's how developers split the stack. - [Top Headless CMS 2026: Best Picks Compared](https://draftbase.co/blog/best-headless-cms-2026): Best headless CMS for 2026? See how seven top picks stack up on price, editing, and the risk of getting stuck with one vendor. ## Optional - [About](https://draftbase.co/about): About Draftbase - [Contact](https://draftbase.co/contact): Contact Draftbase