{"id":29673035,"url":"https://github.com/paulpascal/clean-arch-nextjs-starter","last_synced_at":"2025-07-22T21:09:39.197Z","repository":{"id":186885895,"uuid":"592115251","full_name":"paulpascal/clean-arch-nextjs-starter","owner":"paulpascal","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-12T20:46:10.000Z","size":99,"stargazers_count":1,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-13T04:07:11.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paulpascal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-01-23T00:04:07.000Z","updated_at":"2024-04-14T18:30:07.165Z","dependencies_parsed_at":"2023-11-04T06:23:19.255Z","dependency_job_id":"fbe37d6c-dd45-4b3d-b6d9-0a52459de64c","html_url":"https://github.com/paulpascal/clean-arch-nextjs-starter","commit_stats":null,"previous_names":["paulpascal/clean-arch-nextjs-starter"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/paulpascal/clean-arch-nextjs-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulpascal%2Fclean-arch-nextjs-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulpascal%2Fclean-arch-nextjs-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulpascal%2Fclean-arch-nextjs-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulpascal%2Fclean-arch-nextjs-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulpascal","download_url":"https://codeload.github.com/paulpascal/clean-arch-nextjs-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulpascal%2Fclean-arch-nextjs-starter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266573264,"owners_count":23950188,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2025-07-22T21:09:38.506Z","updated_at":"2025-07-22T21:09:39.185Z","avatar_url":"https://github.com/paulpascal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\" \u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/26466516/141659551-d7ba5630-7200-46fe-863b-87818dae970a.png\" /\u003e\n\u003cP/\u003e\n\n \u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/static/v1?label=Clean-Arch TDD NextJs\u0026message=Welcome\u0026color=FFFFFF\u0026labelColor=110C2F\" alt=\"Unsplash welcome!\" /\u003e\n  \u003cimg alt=\"License\" src=\"https://img.shields.io/static/v1?label=version\u0026message=1.0\u0026color=FFFFFF\u0026labelColor=110C2F\"\u003e\n  \u003cimg alt=\"License\" src=\"https://img.shields.io/static/v1?label=license\u0026message=MIT\u0026color=FFFFFF\u0026labelColor=110C2F\"\u003e\n  \u003cimg alt=\"Stars\" src=\"https://img.shields.io/github/stars/yazaldefilimonepinto/clean-architecture-nextjs-tdd-boilerplate?color=FFFFFF\u0026labelColor=110C2F\"\u003e\n  \u003cimg alt=\"Languages\" src=\"https://img.shields.io/github/languages/count/yazaldefilimonepinto/clean-architecture-nextjs-tdd-boilerplate?color=FFFFFF\u0026labelColor=110C2F\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\" \u003e\nClean architecture starter for Next.js with TypeScript. \u003cbr\u003e\nAll the tools you need to build your nextxroject.\n\u003cP/\u003e\n\n## Features\n- ⚡️ Next.js 12\n- ⚛️ React 18\n- ⛑ TypeScript\n- ✨ Styled Components - CssInJs for component styling\n- 📏 ESLint — To find and fix problems in your code\n- 💖 Prettier — Code Formatter for consistent style\n- 🐶 Husky — For running scripts before committing\n- 🚓 Commitlint — To make sure your commit messages follow the convention\n- 🚫 lint-staged — Run ESLint and Prettier against staged Git files\n- ⚙️ EditorConfig - Consistent coding styles across editors and IDEs\n- 🗂 Path Mapping — Import components or images using the `~/` prefix\n- ‽ Either Error Handler - For error handling. (Either is designed to hold either a left or a right value but never both).\n\n\n## Quick Start\n\nThe best way to start with this template is using [Create Next App](https://nextjs.org/docs/api-reference/create-next-app).\n\n```\n# yarn\nyarn create next-app -e https://github.com/yazaldefilimonepinto/clean-arch-nextjs-starter\n# npm\nnpx create-next-app -e https://github.com/yazaldefilimonepinto/clean-arch-nextjs-starter\n```\n\n### Development\n\nTo start the project locally, run:\n\n```bash\n  npm dev\n  our\n  yarn dev\n```\n\nOpen `http://localhost:3000` with your browser to see the result.\n\n\n### Requirements\n\n- Node.js \u003e= 12.22.0\n- npm our yarn\n\n### Directory Structure\n\n- [`.husky`](.husky) — Husky configuration and hooks.\u003cbr\u003e\n- [`public`](./public) — Static assets such as robots.txt, images, and favicon.\u003cbr\u003e\n- [`src`](./src) — Application source code, including pages, components, styles.\u003cbr\u003e\n\n### Scripts\n- `yarn/npm dev` — Starts the application in development mode at `http://localhost:3000`.\n- `yarn/npm build` — Creates an optimized production build of your application.\n- `yarn/npm start` — Starts the application in production mode.\n- `yarn/npm lint` — Runs ESLint for all files in the `src` directory.\n\n### Path Mapping\n\nTypeScript are pre-configured with custom path mappings. To import components or files, use the `~/` prefix.\n\n```tsx\nimport { Button } from '~/presentation/components/Button';\n\n// To import images or other files from the public folder\nimport avatar from '~/public/avatar.png';\n```\n\n**NOTE:**\nAs many use styled-component\nI added the settings for it, but you can remove it at: `src/pages/_document.tsx` and remove global styles in: `src/shared/styles/globals.ts`\n\n\u003ca id=\"license\"\u003e\u003c/a\u003e\n\n## License\n\n[MIT](https://github.com/yazaldefilimonepinto/clean-arch-nextjs-starter/blob/main/LICENSE) © [Yazalde Filimone](https://www.linkedin.com/in/yazalde-filimone/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulpascal%2Fclean-arch-nextjs-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulpascal%2Fclean-arch-nextjs-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulpascal%2Fclean-arch-nextjs-starter/lists"}