{"id":50889192,"url":"https://github.com/strapi/website","last_synced_at":"2026-06-15T20:01:17.280Z","repository":{"id":338460457,"uuid":"1145873991","full_name":"strapi/website","owner":"strapi","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-09T18:43:30.000Z","size":2759,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-09T20:17:20.412Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://website-ui-omega.vercel.app","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/strapi.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,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-30T10:21:24.000Z","updated_at":"2026-06-09T18:45:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/strapi/website","commit_stats":null,"previous_names":["strapi/website"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/strapi/website","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi%2Fwebsite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi%2Fwebsite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi%2Fwebsite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi%2Fwebsite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strapi","download_url":"https://codeload.github.com/strapi/website/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi%2Fwebsite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34377983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"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":[],"created_at":"2026-06-15T20:01:15.987Z","updated_at":"2026-06-15T20:01:17.273Z","avatar_url":"https://github.com/strapi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# strapi-website\n\nSource code for the [strapi.io](https://strapi.io/) website. Monorepo with Strapi v5 CMS backend and Next.js 16 frontend.\n\n## Tech stack\n\n- [Strapi v5](https://strapi.io/) — Headless CMS\n- [Next.js v16](https://nextjs.org/docs) — App Router, React 19\n- [Shadcn/ui](https://ui.shadcn.com/) + [TailwindCSS v4](https://tailwindcss.com/) — UI components and styling\n- [Turborepo](https://turbo.build/) — Monorepo tooling\n\n## Getting started\n\n### Prerequisites\n\n- Docker — required for the PostgreSQL database\n- Node.js 22 — we recommend using [nvm](https://github.com/nvm-sh/nvm) to manage versions\n- pnpm 10\n\n### Setup\n\n1. Clone the repository\n\n   ```sh\n   git clone \u003crepo-url\u003e\n   cd website\n   ```\n\n2. Install dependencies\n\n   ```sh\n   # Switch to the correct Node.js version (v22)\n   nvm use\n\n   # Optionally, ensure the right pnpm version\n   corepack prepare pnpm@10.28.1 --activate\n\n   # Install all workspace dependencies\n   pnpm install\n   ```\n\n3. Configure the API token\n\n   Before the frontend can fetch content from Strapi, you need to create an API token.\n\n   ```sh\n   # Start Strapi first\n   pnpm dev:strapi\n   ```\n\n   \u003e [!WARNING]\n   \u003e This step is required before the first run. Without the token, the UI app won't be able to load any content.\n\n   Open the Strapi admin at [http://localhost:1337/admin](http://localhost:1337/admin), navigate to [Settings \u003e API Tokens](http://localhost:1337/admin/settings/api-tokens), and create a new token. Copy its value into `STRAPI_REST_READONLY_API_KEY` in `apps/ui/.env.local`.\n\n   Refer to the [UI README](apps/ui/README.md#environment-variables) for details on all environment variables.\n\n4. Run the project\n\n   ```sh\n   # Start both Strapi and Next.js in dev mode\n   pnpm dev\n   ```\n\n   - Frontend: [http://localhost:3000](http://localhost:3000)\n   - Strapi admin: [http://localhost:1337/admin](http://localhost:1337/admin)\n\n## Project structure\n\n### Apps\n\n| Path          | Description                                         |\n| ------------- | --------------------------------------------------- |\n| `apps/ui`     | Next.js 16 frontend ([README](./apps/ui/README.md)) |\n| `apps/strapi` | Strapi v5 CMS ([README](./apps/strapi/README.md))   |\n\n### Packages\n\n| Path                         | Description                                                                            |\n| ---------------------------- | -------------------------------------------------------------------------------------- |\n| `packages/eslint-config`     | Shared ESLint + Prettier config                                                        |\n| `packages/typescript-config` | Shared tsconfig                                                                        |\n| `packages/design-system`     | Shared design tokens and styles                                                        |\n| `packages/shared-data`       | Shared constants and types                                                             |\n| `packages/strapi-types`      | Auto-generated types from Strapi schemas ([README](./packages/strapi-types/README.md)) |\n\n## Scripts\n\n```bash\npnpm dev              # Run all apps\npnpm dev:ui           # Run Next.js only\npnpm dev:strapi       # Run Strapi only\npnpm build            # Build all\npnpm lint             # Lint all packages\npnpm commit           # Interactive conventional commit\n```\n\nCleanup utilities:\n\n```bash\nbash ./scripts/utils/rm-modules.sh    # Remove all node_modules\nbash ./scripts/utils/rm-all.sh        # Remove node_modules, .next, .turbo, .strapi, dist\nbash ./scripts/utils/rm-next-cache.sh  # Remove .next caches\n```\n\n## Contributing\n\n### Commits\n\nUses [conventional commits](https://www.conventionalcommits.org/) enforced by Husky + commitlint.\n\n```\nfeat(ui): add dark mode toggle\nfix(strapi): resolve null pointer on login\nchore: update dependencies\n```\n\nWhen introducing new env variables, mention them in the commit body (`env.VARIABLE_NAME`). The [auto-pr workflow](.github/workflows/auto-pr.yml) extracts these into the PR description.\n\n### CI\n\n- **ci.yml** — builds on every push/PR to `main`\n- **qa.yml** — manual trigger for E2E, accessibility, and performance tests\n- **auto-pr.yml** — auto-creates PRs from `dev` to `main`\n\n## Documentation\n\nDetailed docs are in the [/docs](./docs) directory and in individual app/package READMEs.\n\n## Credits\n\nBuilt on top of [strapi-next-monorepo-starter](https://github.com/notum-cz/strapi-next-monorepo-starter) by [Notum](https://github.com/notum-cz).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrapi%2Fwebsite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrapi%2Fwebsite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrapi%2Fwebsite/lists"}