{"id":18584234,"url":"https://github.com/brob/next-js-blog-with-comments","last_synced_at":"2025-05-16T05:30:34.806Z","repository":{"id":56640260,"uuid":"307757366","full_name":"brob/next-js-blog-with-comments","owner":"brob","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-15T17:25:21.000Z","size":294,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T16:51:54.014Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"next-js-blog-with-comments-testing-something-git-master.brob.vercel.app","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/brob.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":"2020-10-27T16:11:58.000Z","updated_at":"2020-10-28T06:25:42.000Z","dependencies_parsed_at":"2024-12-26T17:41:52.988Z","dependency_job_id":"fd9584f2-658d-4d89-b9e4-090226851e59","html_url":"https://github.com/brob/next-js-blog-with-comments","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brob%2Fnext-js-blog-with-comments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brob%2Fnext-js-blog-with-comments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brob%2Fnext-js-blog-with-comments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brob%2Fnext-js-blog-with-comments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brob","download_url":"https://codeload.github.com/brob/next-js-blog-with-comments/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254473719,"owners_count":22077159,"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":[],"created_at":"2024-11-07T00:26:47.823Z","updated_at":"2025-05-16T05:30:34.780Z","avatar_url":"https://github.com/brob.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js blog with comment section\n\nThis is a demo of how to add a simple comment section to blog post using [Next.js](https://nextjs.org), [Sanity.io](https://www.sanity.io), and [Vercel](https://vercel.com).\n\n# Note: You automatically have an env variable for your dataset and project id, but you'll need to create a token in [manage.sanity.io](https://manage.sanity.io) to allow the Starter's comments to post to your Studio\n\n### Running the front-end\n\nYou'll need to create a `.env.local` file to store a few environment variables that Next will use to pull data from the Sanity API.\n\n```js\nSANITY_API_TOKEN=\"API-TOKEN-FROM MANAGE.SANITY.IO\"\n```\n\nOnce those env variables are ready, you can run the following commands to get Next's development server up and running:\n\n```bash\nnpm install\n\nnpm run dev\n```\n\nThe blog will be running at `http://localhost:3000`\n\n### Running Sanity Studio\n\nTo run the Sanity Studio locally, you'll need to run the following commands:\n\nFirst install the Sanity CLI: `npm install -g @sanity/cli`.\n\n```bash\n# From the project root\ncd studio\n\nsanity start\n```\n\nThe Studio will be running at `http://localhost:3333`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrob%2Fnext-js-blog-with-comments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrob%2Fnext-js-blog-with-comments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrob%2Fnext-js-blog-with-comments/lists"}