{"id":13760671,"url":"https://github.com/prezly/theme-nextjs-bea","last_synced_at":"2025-04-11T22:51:56.238Z","repository":{"id":37085796,"uuid":"416323249","full_name":"prezly/theme-nextjs-bea","owner":"prezly","description":"News site built with NextJS, Typescript and Prezly SDK","archived":false,"fork":false,"pushed_at":"2025-04-10T23:44:23.000Z","size":34368,"stargazers_count":50,"open_issues_count":14,"forks_count":14,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-11T22:51:53.842Z","etag":null,"topics":["blogging","nextjs","typescript"],"latest_commit_sha":null,"homepage":"https://theme-nextjs-bea-the-good-newsroom.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/prezly.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":"2021-10-12T12:12:43.000Z","updated_at":"2025-04-09T12:18:18.000Z","dependencies_parsed_at":"2024-02-10T01:29:34.286Z","dependency_job_id":"95c6681d-44fc-44ee-83be-93eaa6446143","html_url":"https://github.com/prezly/theme-nextjs-bea","commit_stats":null,"previous_names":[],"tags_count":2,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prezly%2Ftheme-nextjs-bea","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prezly%2Ftheme-nextjs-bea/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prezly%2Ftheme-nextjs-bea/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prezly%2Ftheme-nextjs-bea/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prezly","download_url":"https://codeload.github.com/prezly/theme-nextjs-bea/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248492967,"owners_count":21113161,"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":["blogging","nextjs","typescript"],"created_at":"2024-08-03T13:01:16.286Z","updated_at":"2025-04-11T22:51:56.221Z","avatar_url":"https://github.com/prezly.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Prezly Bea Theme\n\nBea Prezly Theme is based on [Next.js] 12+ framework.\n- Made with [TypeScript], [Prezly SDK] and [Prezly Content React Renderer].\n- Data-fetching is handled by [Prezly Theme Kit] and [Prezly SDK].\n- Multi-language is powered by [React Intl] and [Prezly Themes Translations].\n- Analytics powered by [Prezly Analytics].\n- Code-style is ensured by [ESLint], [StyleLint] and [Prettier].\n- Search is powered by Meilisearch\n- Error-logging with [Sentry].\n\n### Requirements\n\n* Node.js and npm\n\n## Quick Start\n\n### Getting Started\n\nRun the following command on your local environment\n\n```Shell\ngit clone https://github.com/prezly/theme-nextjs-bea\ncd theme-nextjs-bea\nnpm i\n```\n\nSet up your .env.local file by copying .env.example:\n```Shell\ncp .env.example .env.local\n```\n\nYou'll need to populate it with your Prezly Access Token and your newsroom's UUID.\nAdditionally, you'll need to provide:\n- Sitekey for HCaptcha if you want HCaptcha to work on the Subscribe form.\n- API key for Prezly's search index (you can contact [Prezly support](https://www.prezly.com/talk-to-us) to issue a token for you)\n\nAfter that you can run locally in development mode with live reload:\n\n```Shell\nnpm run dev\n```\n\nOpen http://localhost:3000 with your favorite browser to see your project.\n\n### Deploy your own\n\nDeploy the example using [Vercel](https://vercel.com) or [Netlify](https://www.netlify.com/):\n\n| Vercel  | Netlify |\n| ------------- | ------------- |\n| [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/prezly/theme-nextjs-bea)  | [![Netlify Deploy button](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/prezly/theme-nextjs-bea)  |\n\n### Scripts in package.json\n\nIn addition to regular Next scripts, we provide some scripts to help with code-styling checks.\nThis repo is configured with GitHub workflows to run linter checks on every push, but you can also run these checks locally, along with TypeScript checks, by running this script:\n```Shell\nnpm run check\n```\n\nPrettier is configured to be managed by ESLint, but you can always run it separately with `npm run prettier` to check code-style, or with `npm run prettier:fix` to auto-fix code-style issues in the project.\n\n## Documentation\n\n### Business logic\n\nThe data layer is abstracted by [Prezly Theme Kit]. You can get more info on it in the repo README.\n\nLogic for content display is based heavily on [Prezly Theme Starter]. Check it out if you only want to see the bare minimum required to display data from Prezly newsrooms.\n\n### Testing/Token\n\nTo ease with development we have created a few sample newsrooms in different categories:\n\n* **The Good Newsroom** [(preview on vercel)](https://theme-nextjs-bea-the-good-newsroom.vercel.app/): A newsroom filled with good news\n* **Cookbook** [(preview on vercel)](https://theme-nextjs-bea-cookbook.vercel.app/): Recipes shared by the Prezly team\n* **Anonymous Photographer** [(preview on vercel)](https://theme-nextjs-bea-photography.vercel.app/):  Pictures from a photographer. Combination of albums and imagery\n\nA list of tokens/newsroom uuids that can be used to kickstart the theme.\n\n| Name  | API Token  | Newsroom UUID |\n|---|---|---|\n| Good Newsroom  | `HKcab_nEbab_a7b2fe3a3465d3729772fa5381800ab5a0c30d8d`  | `578e78e9-9a5b-44ad-bda2-5214895ee036` |\n| Cookbook  | `TKcab_nEbab_28432b75d3a85a826e51cd0b502a3d76acf98d19`  | `9d90b2c1-aed9-4415-a9fb-82dd3a2a1b52` |\n| Anonymous Photographer | `SKcab_nEbab_0b63a6dd0b09286cc99fab93e6e80bfd9aecfbb5`  | `ce8299f6-a293-41df-8ffc-1c064d4401bc` |\n\n### Contributions\n\nEveryone is welcome to contribute to this project. Feel free to open an issue if you have question or found a bug.\n\n### License\n\nPrezly Bea Theme is [MIT licensed](LICENSE).\n\n---\n\nMade with ♥ by [Prezly](https://www.prezly.com/developers)\n\n[Next.js]: https://nextjs.org\n[Prezly SDK]: https://github.com/prezly/javascript-sdk\n[Prezly Theme Kit]: https://github.com/prezly/theme-kit-nextjs\n[Typescript]: https://www.typescriptlang.org\n[ESLint]: https://eslint.org\n[StyleLint]: https://stylelint.io\n[Prettier]: https://prettier.io\n[React Intl]: https://www.npmjs.com/package/react-intl\n[Prezly Content React Renderer]: https://www.npmjs.com/package/@prezly/content-renderer-react-js\n[Prezly Themes Translations]: https://github.com/prezly/themes-intl-messages\n[Prezly Analytics]: https://github.com/prezly/analytics\n[Sentry]: https://sentry.io/\n[Prezly Theme Starter]: https://github.com/prezly/theme-nextjs-starter\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprezly%2Ftheme-nextjs-bea","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprezly%2Ftheme-nextjs-bea","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprezly%2Ftheme-nextjs-bea/lists"}