{"id":14987567,"url":"https://github.com/pintoderian/next-directus-auth-ts","last_synced_at":"2025-10-05T18:38:14.725Z","repository":{"id":217522851,"uuid":"696402456","full_name":"pintoderian/next-directus-auth-ts","owner":"pintoderian","description":"Template for project structure with nextjs 14 - next auth - directus and typescript","archived":false,"fork":false,"pushed_at":"2025-02-14T05:33:36.000Z","size":604,"stargazers_count":59,"open_issues_count":1,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T00:13:51.185Z","etag":null,"topics":["admin","adminui","dashboard","dashboard-templates","directus","directus-sdk","husky","javascript","next-auth","next-theme","nextjs","nextjs14","prettier","shadcn-ui","tailwindcss","template","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pintoderian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-25T17:10:05.000Z","updated_at":"2025-02-14T05:33:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"80852b53-74a8-4f57-9509-3585af99193f","html_url":"https://github.com/pintoderian/next-directus-auth-ts","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.1428571428571429,"last_synced_commit":"cd25f4707b10c325a358f6f75278e4e5cb6d67db"},"previous_names":["pintoderian/next-directus-auth-ts"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pintoderian%2Fnext-directus-auth-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pintoderian%2Fnext-directus-auth-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pintoderian%2Fnext-directus-auth-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pintoderian%2Fnext-directus-auth-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pintoderian","download_url":"https://codeload.github.com/pintoderian/next-directus-auth-ts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248686152,"owners_count":21145426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin","adminui","dashboard","dashboard-templates","directus","directus-sdk","husky","javascript","next-auth","next-theme","nextjs","nextjs14","prettier","shadcn-ui","tailwindcss","template","typescript"],"created_at":"2024-09-24T14:14:56.618Z","updated_at":"2025-10-05T18:38:09.678Z","avatar_url":"https://github.com/pintoderian.png","language":"TypeScript","funding_links":["https://ko-fi.com/dpinto"],"categories":[],"sub_categories":[],"readme":"# Simple Dashboard Template with Next.js 14, Tailwind CSS, NextAuth.js, and Directus\n\nThis project is a starting point for building a modern web dashboard using a robust technology stack. It provides you with the basic structure and tools necessary to kickstart the development of your own dashboard application.\n\n## Screenshots\n\n#### Login Page\n\n![Login page](/screenshots/screenshot-1.png)\n\n#### Light mode\n\n![Light mode](/screenshots/screenshot-2.png)\n\n#### Dark mode\n\n![Dark mode](/screenshots/screenshot-3.png)\n\n#### Sheet menu\n\n\u003cimg src=\"/screenshots/screenshot-4.png\" width=\"300\"\u003e\n\n## Key Features\n\n- A solid foundation for developing a modern web dashboard.\n- An attractive and customizable style thanks to Tailwind CSS.\n- Secure user authentication through NextAuth.js.\n- Dynamic content management with Directus.\n- Streamlines the initial setup of your project, saving you time.\n\n## Technologies Used\n\n- [Next.js](https://nextjs.org/): React framework for web applications.\n- [Tailwind CSS](https://tailwindcss.com/): CSS design framework.\n- [Shadcn](https://ui.shadcn.com/): Beautifully designed components built with Radix UI and Tailwind CSS.\n- [next-auth](https://next-auth.js.org/): Authentication and authorization in Next.js.\n- [next-themes](https://github.com/pacocoursey/next-themes): Theme switching in Next.js.\n- [TypeScript](https://www.typescriptlang.org/): Programming language.\n- [@directus/sdk](https://docs.directus.io/guides/sdk/): Client for Directus API.\n- [zustand](https://github.com/pmndrs/zustand): Lightweight state management for React.\n- [zod](https://github.com/colinhacks/zod): TypeScript schema validation.\n- [Husky](https://github.com/typicode/husky): Git hooks for running commands on pre-commit and pre-push actions.\n- [Prettier](https://prettier.io/): Automatic code formatter.\n- [ESLint](https://eslint.org/): Static code analysis tool.\n- [shadcn/ui sidebar](https://github.com/salimi-my/shadcn-ui-sidebar): Shadcn UI Sidebar.\n\n## Requirements\n\nMake sure you have the following installed before running the project:\n\n- [Node.js](https://nodejs.org/): version 20.9.0\n- [npm](https://www.npmjs.com/): JavaScript package manager\n\n## Configuration\n\nClone the repository:\n\n```bash\ngit clone https://github.com/pintoderian/next-directus-auth-ts.git\ncd your-project\n```\n\nInstall dependencies:\n\n```bash\nnpm run install\n```\n\nPrepare husky:\n\n```bash\nnpm run prepare\n```\n\nConfigure environment variables:\nCreate a .env.local file at the root of the project and define the necessary environment variables. Here's an example:\n\n```bash\nNEXT_PUBLIC_DIRECTUS_API=\nNEXTAUTH_SECRET=\nNEXTAUTH_URL=http://localhost:3000\nNEXT_PUBLIC_SITE_NAME=\"Acme Inc\"\nNEXT_PUBLIC_SITE_DESCRIPTION=\"Lorem, ipsum dolor sit amet consectetur adipisicing elit.\"\n\n```\n\nCommand for **NEXTAUTH_SECRET**\n\n```bash\nopenssl rand -base64 32\n```\n\n## Running the Project\n\nTo run the project in a development environment, use the following command:\n\n```bash\nnpm run dev\n```\n\nThe project will be available at http://localhost:3000.\n\n## Production\n\nTo build and run the project in a production environment, use the following commands:\n\n```bash\nnpm run build\n\nnpm start\n```\n\n\u003chr /\u003e\n\n### If you like my work, consider buying me a coffee!\n\n[Ko-fi](https://ko-fi.com/dpinto)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpintoderian%2Fnext-directus-auth-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpintoderian%2Fnext-directus-auth-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpintoderian%2Fnext-directus-auth-ts/lists"}