{"id":19495207,"url":"https://github.com/rodik-dev/local-contentful-custom-fields-d84ca","last_synced_at":"2026-06-11T13:31:25.421Z","repository":{"id":194307075,"uuid":"689580184","full_name":"rodik-dev/local-contentful-custom-fields-d84ca","owner":"rodik-dev","description":"Jamstack site created with Stackbit","archived":false,"fork":false,"pushed_at":"2023-10-23T07:45:13.000Z","size":3440,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T20:35:54.772Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://jamstack.new","language":"JavaScript","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/rodik-dev.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,"publiccode":null,"codemeta":null}},"created_at":"2023-09-10T09:09:01.000Z","updated_at":"2023-09-12T11:26:00.000Z","dependencies_parsed_at":"2024-11-10T21:36:39.557Z","dependency_job_id":null,"html_url":"https://github.com/rodik-dev/local-contentful-custom-fields-d84ca","commit_stats":null,"previous_names":["rodik-dev/local-contentful-custom-fields-d84ca"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rodik-dev/local-contentful-custom-fields-d84ca","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodik-dev%2Flocal-contentful-custom-fields-d84ca","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodik-dev%2Flocal-contentful-custom-fields-d84ca/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodik-dev%2Flocal-contentful-custom-fields-d84ca/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodik-dev%2Flocal-contentful-custom-fields-d84ca/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodik-dev","download_url":"https://codeload.github.com/rodik-dev/local-contentful-custom-fields-d84ca/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodik-dev%2Flocal-contentful-custom-fields-d84ca/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34201840,"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-11T02:00:06.485Z","response_time":57,"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":"2024-11-10T21:36:34.514Z","updated_at":"2026-06-11T13:31:25.403Z","avatar_url":"https://github.com/rodik-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stackbit Next.js + Contentful Minimal Starter\n\n![Screenshot](https://assets.stackbit.com/docs/tutorial-shared-thumb.png)\n\n**ℹ️ This reposoitory is based on [our Getting Started tutorial](https://docs.stackbit.com/getting-started) in its completed state.**\n\nThere are two ways to start using this project: importing it via the UI, or developing locally.\n\n## Creating a Stackbit Project via the UI\n\nTo create a cloud-based Stackbit project based on this repository, [click here](https://app.stackbit.com/import?mode=duplicate\u0026repository=https%3A%2F%2Fgithub.com%2Fstackbit-themes%2Fnextjs-contentful-starter\u0026validate=auto).\n\nYou will need to connect your Contentful account (create a free account if needed), and a new Contentful space with sample content will be created for you. \n\nA new GitHub repository with this codebase will be created for you. You can transfer ownership of the duplicated repository to you through the Project Settings.\n\nLastly, a live production build of the website on Netlify is automatically provisioned.\n\n## Developing Locally \n\n### Prerequisites\n\nBefore you begin, please make sure you have the following:\n\n- Contentful account\n- Node v14 or later\n\n### Clone this repository\n\nClone this repository, then run `npm install` in its root directory.\n\n### Create Contentful Space\n\nAfter signing into Contentful, create a new space. \n\n### Generate Management Token\n\nIf you don't already have a management token (or _personal access token_), generate one. To do so, go into your new empty space, then:\n\n1. Click _Settings_\n1. Choose _API Keys_\n1. Select the _Content management tokens_ tab\n1. Click the button to generate a new token\n\n![Generate content management token](./docs/generate-mgmt-token.png)\n\n### Generate Preview \u0026 Delivery API Keys\n\nFrom the same place you generated the management token, you can now generate API access keys.\n\n1. Select the *content delivery / preview tokens* tab\n1. Choose *Add API key*\n\n### Set Environment Variables\n\nIn your project, duplicate `.env.example` to `.env`. \n\nFill in the values in the file based on the keys you've created. \n\nNote: the Contentful space ID can be viewed and copied via *Settings-\u003eGeneral Settings* in Contentful.\n\n### Import Content\n\nImport the provided content models \u0026 content into Contentful by running the `import.js` script:\n\n    node ./contentful/import.js\n\nIf the import fails to run, make sure that you've run `npm install` and that all keys in your `.env` file are set correctly.\n\n### Run the Website\n\nRun the Next.js development server:\n\n    npm run dev\n\nVisit [localhost:3000](http://localhost:3000) and you should see the example content you imported into your new Contentful space.\n\n### Run Stackbit in Local Development Mode\n\nKeep the Next.js development server running, and open a new command-line window in the same directory.\n\nInstall Stackbit's CLI tools (once):\n    \n    npm i -g @stackbit/cli@latest\n\nRun the CLI:\n\n    stackbit dev\n\nClick the displayed link to [localhost:8090/_stackbit](http://localhost:8090/_stackbit) and the visual editor will open.\n\n### Create a Cloud-Based Stackbit Project\n\nTo deploy a cloud-based Stackbit project connected to your repository:\n\n1. Push your code to a GitHub repository\n1. Open the [import page](https://app.stackbit.com/import) and choose *Use my repository*.\n\n## Support\n\nIf you get stuck along the way, [drop into our Discord server](https://discord.gg/HUNhjVkznH) and send a message in the `#documentation` or `#help` channels.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodik-dev%2Flocal-contentful-custom-fields-d84ca","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodik-dev%2Flocal-contentful-custom-fields-d84ca","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodik-dev%2Flocal-contentful-custom-fields-d84ca/lists"}