Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Next.js 13 starter web app with Directus headless CMS, Tailwind CSS, Radix UI, and examples for auth, data fetching, and more.
Next.js Directus Starter is an open-source Next.js 13 boilerplate that connects the Directus headless CMS to Radix UI and Tailwind CSS for building authenticated, content-driven web apps.
The Next.js Directus Starter is a starter template from GitHub user fredygerman that scaffolds a Next.js 13 project using the App Router, with Directus as the backend CMS and Radix UI plus Tailwind CSS for the frontend. The template outputs a runnable web app that includes login and registration pages, PostHog analytics, and examples for authentication and data fetching. It is licensed under the MIT license.
Clone the repository, install dependencies with pnpm install, and start a Directus CMS instance. Copy .env.example to .env and fill in the Directus URL, a default role ID, and a static user token, then run pnpm run dev to open the app at http://localhost:3000.
The project centralizes configuration in a few files: site.ts for site name/title/navigation, messages.ts for user-facing response messages, env.mjs for environment variable validation with @t3-oss/env-nextjs, plus standard tailwind.config.js, postcss.config.js, next.config, and prettier.config.js files.
The README's roadmap shows login/register and analytics as already implemented. Planned but not yet included are a dashboard page, a simple blog, SEO, an auth guard, password reset/forgot password, user profile, and user settings — so the starter is a foundation rather than a finished product.
Yes, the project is licensed under the MIT license, so it can be used freely for personal and commercial projects.
You need a running Directus CMS project, Node.js, and pnpm. You'll also need to create a user with a static token in Directus to set the DIRECTUS_USER_CREATOR_TOKEN environment variable.
Yes, the template already includes login and register pages connected to Directus, and the roadmap marks these items as completed.
