Directus

cmsdeveloper tools

Open-source data platform that wraps any SQL database with an instant REST and GraphQL API plus a no-code admin app. Works with existing databases, not just new ones

#headless-cms#rest-api#graphql#sql#data-platform#nodejs#docker#self-hosted
Alternative to StrapiContentfulAirtable

Quick Start

docker run -p 8055:8055 directus/directus

Overview

Directus is a data platform that wraps any SQL database with an instant REST and GraphQL API and a no-code admin application. The distinguishing feature from most headless CMSes is that it works with existing databases. Point Directus at a database that already has tables and data, and it introspects the schema and exposes everything through its API and admin app without requiring you to remodel anything.

This makes Directus useful in two different scenarios. As a traditional headless CMS, you define collections in the admin app and consume the content from a frontend. As a layer over an existing production database, you give non-technical team members a clean interface to records they previously could only reach through raw SQL or a custom internal tool. The admin app handles relationships, file management, and data entry without anyone touching a query.

The data studio provides a spreadsheet-like view of your data with filtering, sorting, and granular role-based permissions. You control exactly which roles can read or write which collections and fields.

Two honest caveats. First, the licence: Directus uses the Business Source License, which is not strictly open source and carries conditions on commercial use above a revenue threshold, so read the terms if you are building a commercial product on it. Second, for a simple content-driven website with no existing database, a purpose-built CMS like Strapi may be a more direct fit. Directus earns its place when you have relational data, an existing database, or need a genuine admin layer over structured records.

Use Cases

Specific ways to use Directus for your workflow.

01
Wrap an existing SQL database with an instant API without rewriting the schema
02
Give non-technical users a friendly admin app over a production database
03
Build a headless CMS backend for a website or mobile app
04
Manage relational data with a spreadsheet-like interface and granular permissions

Deployment Strategy

Recommended ways to host Directus in your own environment.

docker
self-hosted