{"id":18941273,"url":"https://github.com/bloomreach/bloomreach-reference-spa","last_synced_at":"2025-10-24T16:43:32.523Z","repository":{"id":40245771,"uuid":"308118993","full_name":"bloomreach/bloomreach-reference-spa","owner":"bloomreach","description":"brX SaaS + React = ♥️","archived":false,"fork":false,"pushed_at":"2025-03-27T09:02:18.000Z","size":1935,"stargazers_count":17,"open_issues_count":3,"forks_count":19,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-03-29T02:04:32.145Z","etag":null,"topics":["bloomreach","brxm","react","spa"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bloomreach.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":"2020-10-28T19:21:38.000Z","updated_at":"2025-03-05T18:44:03.000Z","dependencies_parsed_at":"2024-11-08T12:40:01.972Z","dependency_job_id":null,"html_url":"https://github.com/bloomreach/bloomreach-reference-spa","commit_stats":null,"previous_names":[],"tags_count":123,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomreach%2Fbloomreach-reference-spa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomreach%2Fbloomreach-reference-spa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomreach%2Fbloomreach-reference-spa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomreach%2Fbloomreach-reference-spa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bloomreach","download_url":"https://codeload.github.com/bloomreach/bloomreach-reference-spa/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249147984,"owners_count":21220455,"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":["bloomreach","brxm","react","spa"],"created_at":"2024-11-08T12:27:04.991Z","updated_at":"2025-10-16T19:43:35.836Z","avatar_url":"https://github.com/bloomreach.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bloomreach Content + React = ♥️\n\nReference SPA using the Bloomreach Experience [React SDK](https://www.npmjs.com/package/@bloomreach/react-sdk).\nThe app is created using [Next.js](https://nextjs.org/).\n\n## Install and run\n\nCopy `.env.dist` file to `.env` and specify the brX SaaS instance to fetch the page model from:\n```\nNEXT_PUBLIC_BRXM_ENDPOINT=https://brx-saas-eng02.bloomreach.io/delivery/site/v1/channels/brxsaas/pages\n```\n\nBy default, **multi-tenant mode is disabled**. You may enable multi-tenant support by setting the environment variable NEXT_PUBLIC_BR_MULTI_TENANT_SUPPORT to true.\n```\nNEXT_PUBLIC_BR_MULTI_TENANT_SUPPORT=true\n```\n\nIf multi-tenant mode is enabled, then the NEXT_PUBLIC_BRXM_ENDPOINT should not be set:\n```\n#NEXT_PUBLIC_BRXM_ENDPOINT=https://brx-saas-eng02.bloomreach.io/delivery/site/v1/channels/brxsaas/pages\n```\nThen, build and run the Next.js app as follows:\n\n```bash\nnpm ci\nnpm run build\nnpm run start\n```\n\n## Available scripts\n\nIn the project directory, you can run:\n\n### `npm run dev`\n\nRuns the app in the development mode.\u003cbr\u003e\nOpen \u003chttp://localhost:3000\u003e to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr\u003e\nYou will also see any lint errors in the console.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\u003cbr\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr\u003e\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://nextjs.org/docs/deployment) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbloomreach%2Fbloomreach-reference-spa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbloomreach%2Fbloomreach-reference-spa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbloomreach%2Fbloomreach-reference-spa/lists"}