{"id":21673205,"url":"https://github.com/anwarhossainsr/nextjs-15-template","last_synced_at":"2025-04-05T06:02:45.448Z","repository":{"id":104907482,"uuid":"596885563","full_name":"AnwarHossainSR/nextjs-15-template","owner":"AnwarHossainSR","description":"This is next js 15 boilerplate. You can start your next 15 project without any hassle of setup.","archived":false,"fork":false,"pushed_at":"2025-03-26T04:48:31.000Z","size":890,"stargazers_count":117,"open_issues_count":0,"forks_count":38,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T05:01:44.648Z","etag":null,"topics":["boilerplate","boilerplate-template","next-auth","next-tailwind","next15","next15-boilerplate","next15example","nextjs","nextjs-15","nextjs-template","nextjs15-starter","nextjs15-typescript","nodejs","react","react-query","reactjs","tailwindcss","tanstack-react-query","template"],"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/AnwarHossainSR.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-02-03T06:14:48.000Z","updated_at":"2025-03-26T11:28:37.000Z","dependencies_parsed_at":"2023-10-03T09:47:40.858Z","dependency_job_id":"84913a70-0d04-44b0-974c-35555904ed48","html_url":"https://github.com/AnwarHossainSR/nextjs-15-template","commit_stats":null,"previous_names":["anwarhossainsr/nextjs-14-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnwarHossainSR%2Fnextjs-15-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnwarHossainSR%2Fnextjs-15-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnwarHossainSR%2Fnextjs-15-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnwarHossainSR%2Fnextjs-15-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnwarHossainSR","download_url":"https://codeload.github.com/AnwarHossainSR/nextjs-15-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294514,"owners_count":20915340,"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":["boilerplate","boilerplate-template","next-auth","next-tailwind","next15","next15-boilerplate","next15example","nextjs","nextjs-15","nextjs-template","nextjs15-starter","nextjs15-typescript","nodejs","react","react-query","reactjs","tailwindcss","tanstack-react-query","template"],"created_at":"2024-11-25T13:37:27.984Z","updated_at":"2025-04-05T06:02:45.419Z","avatar_url":"https://github.com/AnwarHossainSR.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next Starter\n\nThe aim for this starter is to give you a starting point with everything ready to work and launch to production. Web Vitals with 100% by default. Folder structure ready. Tooling ready. SEO ready. SSR ready.\n\n[![image](/public/images/og.png)](https://next-starter-ebon.vercel.app/)\n\n## ⚡️ Stack\n\n- [`Next.js`](https://nextjs.org/)\n- [`Typescript`](typescriptlang.org)\n- [`Styled Components`](https://styled-components.com/)\n- [`ESLint`](https://eslint.org/)\n- [`Prettier`](https://prettier.io/)\n- [`Husky`](https://github.com/typicode/husky)\n\n## Available Scripts\n\n- `yarn dev` Next dev\n- `yarn start`: Next start\n- `yarn build`: Next build\n- `yarn analyze`: Generate bundle-analyzer\n- `yarn lint`: Audit code quality\n\n### Styling Performance\n\nIn order to improve performance, Styled Components are generated at build time and served with the document generated by Next's Server Side Rendering.\n\nThere is already a font preloaded from Google Fonts, Poppins. Using Google Fonts allows Next.js to CSS inline the font at build time.\n\nAll of this is happening at `_document.tsx`\n\n## 🏁 Tooling\n\n### ESLint\n\nESLint extends [`eslint-config-airbnb`](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb), [`eslint-config-next`](https://www.npmjs.com/package/eslint-config-next), and some accesibility recomendations from [`eslint-plugin-jsx-a11y`](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y).\n\nThere are also some opinionated rules you can change at `.eslintrc.js`.\n\n### Prettier\n\nPrettier will be managed using ESLint.\nFor Code Styling the Prettier config at `.prettierrc.js` will be used.\n\nSome popular settings are already set.\n\n```js\ntrailingComma: 'es5',\nsingleQuote: true,\nprintWidth: 80,\ntabWidth: 2,\nuseTabs: false,\nendOfLine: 'lf'\n```\n\n### Absolute imports\n\nAbsolute imports working with prefix `@/` starting from `src` folder.\n\n```json\n\"paths\": {\n  \"@/*\": [\"src/*\"],\n}\n```\n\n_tsconfig.json_\n\n### Sorting and grouping imports\n\nImports will be grouped by dependencies, absolute imports (`@/*`) and relative imports.\nAlso they will be sorted by insensitive ascending order.\n\n![](https://media.giphy.com/media/fuNPWZvyuRutgQ7f4z/giphy.gif)\n\nThis is done using [`eslint-plugin-simple-import-sort`](https://github.com/lydell/eslint-plugin-simple-import-sort) and `sort-keys` from _.eslintrc.js_\n\n### Validate staged files\n\nOn every commit, the staged files will be validated to pass ESLint config.\n\nThis is done using `husky` and `lint-staged`\n\n```json\n  \"husky\": {\n    \"hooks\": {\n      \"pre-commit\": \"lint-staged\"\n    }\n  },\n  \"lint-staged\": {\n    \"*.{js,jsx,ts,tsx}\": \"eslint --cache --fix --cache-location ./node_modules/.cache/.eslintcache\"\n  },\n```\n\n### Indexing\n\n`/public/robots.txt` file already provided allowing indexing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanwarhossainsr%2Fnextjs-15-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanwarhossainsr%2Fnextjs-15-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanwarhossainsr%2Fnextjs-15-template/lists"}