Next.js 13 starter for building apps with Directus CMS Radix UI and Tailwind CSS.
git clone https://github.com/fredygerman/next-js-directus-starter.git
cd next-js-directus-starter
pnpm install
Make sure your Directus CMS is running and you have created a project.
cp .env.example .env
Note : Make sure all the environment variables are defined in your .env file.
For the DIRECTUS_DEFAULT_ROLE_ID you can use the default role id from your directus project. For DIRECTUS_USER_CREATOR_TOKEN you need to create a user and a static token in your directus project.
pnpm run dev
You can now view the app in your browser at http://localhost:3000 🚀
- Next.js 13 App Directory
- Directus CMS
- Radix UI Primitives
- Tailwind CSS
- Icons from Lucide
- Themes with next-themes and Tailwind CSS
- Tailwind CSS class sorting, merging and linting.
- Next js Server Side Components (SSC) & Client Side Components (CSC)
- Next js Form Actions
- Analytics with Posthog
- [✅] Add Login and Register
- [✅] Add Analytics
- Add Installation Instructions Documentation
- Add Dashboard Page
- Add Simple Blog
- Add SEO
- Add Auth Guard
- Add Password Reset and Forgot Password
- Add User Profile
- Add User Settings
- Site Config (site.ts) for Site Information configuration (i.e Name, Title, Nav Bar items, Links etc).
- Response Messages Config (messages.ts) for Creating user friendly response messages.
- @t3-oss/env-nextjs For Environment Variables configuration. (env.mjs)
- and other config files. (tailwind.config.js, postcss.config.js, next.config, prettier.config.js)
Licensed under the MIT license.