{"id":21541589,"url":"https://github.com/omergulcicek/nextjs-boilerplate","last_synced_at":"2025-08-24T01:15:27.722Z","repository":{"id":199564862,"uuid":"702196352","full_name":"omergulcicek/nextjs-boilerplate","owner":"omergulcicek","description":"🚀 Modern Next.js 15 boilerplate with TypeScript \u0026 Tailwind CSS","archived":false,"fork":false,"pushed_at":"2025-07-30T17:47:46.000Z","size":1009,"stargazers_count":44,"open_issues_count":0,"forks_count":13,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-30T20:34:58.857Z","etag":null,"topics":["boilerplate","eslint","husky","lucide","next-themes","nextjs","nextjs-boilerplate","prettier","radix-ui","react","react-hook-form","shadcn-ui","tailwindcss","tanstack-query","typescript","zod","zustand"],"latest_commit_sha":null,"homepage":"https://nextjs15-boilerplate.vercel.app/en/","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/omergulcicek.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,"zenodo":null}},"created_at":"2023-10-08T19:12:35.000Z","updated_at":"2025-07-30T17:47:49.000Z","dependencies_parsed_at":"2024-07-06T22:32:29.373Z","dependency_job_id":"7b62a5c9-3c17-4f06-8088-7df2e5fa91df","html_url":"https://github.com/omergulcicek/nextjs-boilerplate","commit_stats":null,"previous_names":["omergulcicek/nextjs-boilerplate"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/omergulcicek/nextjs-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omergulcicek%2Fnextjs-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omergulcicek%2Fnextjs-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omergulcicek%2Fnextjs-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omergulcicek%2Fnextjs-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omergulcicek","download_url":"https://codeload.github.com/omergulcicek/nextjs-boilerplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omergulcicek%2Fnextjs-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271778236,"owners_count":24819265,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["boilerplate","eslint","husky","lucide","next-themes","nextjs","nextjs-boilerplate","prettier","radix-ui","react","react-hook-form","shadcn-ui","tailwindcss","tanstack-query","typescript","zod","zustand"],"created_at":"2024-11-24T05:06:58.944Z","updated_at":"2025-08-24T01:15:27.714Z","avatar_url":"https://github.com/omergulcicek.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js Boilerplate\n\nModern **Next.js 15.3** boilerplate with **TypeScript** \u0026 **Tailwind CSS**\n\nLive Demo: https://nextjs15-boilerplate.vercel.app/en\n\n## Features\n\nWith this template, you get all the awesomeness you need:\n\n- 📂 Advanced Folder Structures\n- ⚡ [Next.js](https://nextjs.org/) with App Router support\n- 💎 Type checking [TypeScript](https://www.typescriptlang.org/)\n- 🎨 Styled using [Tailwind CSS](https://tailwindcss.com/)\n- 📦 State management with [Zustand](https://zustand-demo.pmnd.rs/)\n- 🗺️ [next-intl](https://next-intl.dev/) for internationalization\n- 🧩 UI Components built with [shadcn/ui](https://ui.shadcn.com/)\n- 🔄 Data Fetching, Caching and Mutation with [TanStack Query](https://tanstack.com/query/latest)\n- ⌨️ Form handling with [React Hook Form](https://react-hook-form.com/)\n- 🔴 Validation library with [Zod](https://zod.dev/)\n- 🌸 Smart masking and validation with [@omergulcicek/forms](https://www.npmjs.com/package/@omergulcicek/forms)\n- 🧹 Linter with [ESLint](https://eslint.org/)\n- 💖 Code Formatter with [Prettier](https://prettier.io/)\n- 🎉 [Storybook](https://storybook.js.org/) for UI development\n- 🚨 Error tracking with [Sentry](https://sentry.io/)\n- 📊 Analytics with [Google Analytics](https://analytics.google.com/)\n- ⏳ Loading UI using [Skeleton Components](https://ui.shadcn.com/docs/components/skeleton)\n- 🌓 Dark theme with [next-themes](https://npmjs.com/package/next-themes)\n- 💡 [Absolute Imports](https://nextjs.org/docs/pages/building-your-application/configuring/absolute-imports-and-module-aliases) with `@` prefix\n- ✨ Beautiful and consistent icons from [Lucide](https://lucide.dev/)\n- 🐶 [Husky](https://typicode.github.io/husky/) for Git Hooks\n- 🤖 Sitemap.xml and robots.txt\n- ⚙️ Metadata files optimized for SEO\n- 🍪 Storage helpers for Local, Session, Cookies\n- 💯 Maximize lighthouse score\n\n## Project structure\n\n```shell\n│\n├── .husky                          # Husky git hook scripts\n├── messages                        # i18n messages\n├── public                          # Public assets folder\n├── src\n│   ├── app                         # Next JS App (App Router)\n│   ├── assets                      # Static assets (images, fonts, etc.)\n│   ├── components                  # React components\n│   │   ├── icons                   # svg icons\n│   │   ├── features                # Components with hooks and calculations\n│   │   ├── shared                  # Header, footer, aside components\n│   │   ├── skeletons               # Loading components\n│   │   ├── ui                      # Atomic components\n│   │   └── widgets                 # Advanced UI components\n│   ├── constants                   # Project-wide constants\n│   ├── data                        # Static or mock data\n│   ├── helpers                     # Reusable utility functions (e.g., API, formatting, storage)\n│   ├── hooks                       # Reusable custom React hooks\n│   ├── i18n                        # Internationalization setup\n│   ├── lib                         # Common utility functions\n│   ├── providers                   # Global context providers (theme, data fetching, notifications, i18n)\n│   ├── schemas                     # Validation schemas\n│   ├── services                    # API request functions\n│   ├── stores                      # Global state\n│   ├── types                       # TypeScript type definitions\n│   └── .middleware                 # Middleware for Next.js\n├── .env                            # Environment variables\n├── .gitignore                      # Git ignore rules\n├── .prettierrc                     # Prettier config\n├── components.json                 # shadcn/ui config\n├── eslint.config.mjs               # ESLint config\n├── next.config.mjs                 # Next.js config\n├── package.json                    # Project dependencies and scripts\n├── postcss.config.js               # PostCSS config\n├── README.md                       # README file\n├── tailwind.config.js              # Tailwind CSS config\n└── tsconfig.json                   # TypeScript config\n```\n\n## File Naming Conventions\n\nThe project follows consistent file naming conventions:\n\n| File Type      | Example          | Style      |\n| -------------- | ---------------- | ---------- |\n| Component      | `LoginForm.tsx`  | PascalCase |\n| Hook           | `useLogin.ts`    | camelCase  |\n| Helper, Schema | `form-schema.ts` | kebab-case |\n| Folder         | `login-form/`    | kebab-case |\n| Constants      | `ALPHA_REGEX`    | SNAKE_CASE |\n\n## Monitoring \u0026 Analytics\n\n🚧 Don't forget to replace all FIXME tags with proper code before finalizing the changes.\n\n### Error Tracking\n\nWe use [Sentry](https://sentry.io/) for error tracking and performance monitoring. To set up:\n\n1. Create a Sentry account\n2. Add your DSN to `.env`:\n\n```env\nNEXT_PUBLIC_SENTRY_DSN=your-sentry-dsn\n```\n\n### Analytics\n\nWe use [Google Analytics](https://analytics.google.com/) for tracking user behavior. To set up:\n\n1. Create a Google Analytics account\n2. Add your ID to `.env`:\n\n```env\nNEXT_PUBLIC_GA_ID=G-XXXXXXXXXX\n```\n\n### Contributors\n\n- [@omergulcicek](https://github.com/omergulcicek)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomergulcicek%2Fnextjs-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomergulcicek%2Fnextjs-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomergulcicek%2Fnextjs-boilerplate/lists"}