Instant REST+GraphQL APIs for any SQL database, built-in auth, access control, caching, and automation. All completely open-source and 100% TypeScript.
Directus introspects your SQL database, instantly giving you a connectivity toolkit for fetching and managing your database and its content.
id status title category image favorite
1 active Rolling Hills landscape 420 true
2 active Pineapple Baby random 483 true
3 draft Headphones Alt products 23 false
4 review Pink Crystals random 311 true
5 active Avocado Toast food 1038 true
6 active Beach Chair products 459 true
7 draft Two Windows landscape 460 false
8 active Lolipops Galore food 1039 false
9 active Beautiful Bunny animals 1738 true
// GET /items/products/4
{
"id": 4,
"status": "review",
"title": "Pink Crystals",
"category": "random",
"image": {
"id": 311,
"name": "pink-crystals.png"
},
"date_added": "2020-11-12T17:56:41Z"
}
Directus completely conforms to your tech stack, with support for any SQL database vendor and schema, REST and GraphQL APIs, all auth providers, and any file storage.
Directus adds a connectivity layer for querying your database, without changing its architecture or removing access to run pure SQL queries.
GET /items/products/4?fields=*,image.id,image.name
{
"id": 4,
"status": "review",
"title": "Pink Crystals",
"category": "random",
"image": {
"id": 311,
"name": "pink-crystals.png"
},
"date_added": "2020-11-12T17:56:41Z"
}
Getting original assets, generating transformations, or optimizing media quality is as easy as requesting what you want via a URL.
example.com/assets/<file-id>?width=80&height=80&fit=cover
Generate cropped or contained thumbnails simply by requesting them via our Asset Engine's URL-API.
Directus includes all the core capabilities you need to build amazing data-driven projects faster and more efficiently, and is completely extensible so you never hit a feature ceiling.
We believe in the true spirit of open-source, never paywalling core features for profit. From corporate applications to hobby projects, our permissive license keeps you in control.
starStar our GitHub repositoryOur unopinionated platform works with any tech stack. Get started with these popular developer guides, or build within any other framework.
With over 22 million downloads, Directus is the world's first Open Data Platform for instantly turning any SQL database into an API and beautiful no-code app.