{"id":16527109,"url":"https://github.com/hiro08gh/next-microcms-ssg","last_synced_at":"2025-10-29T20:07:19.264Z","repository":{"id":42921282,"uuid":"245937765","full_name":"hiro08gh/next-microcms-ssg","owner":"hiro08gh","description":"Next.js + microCMS SSG.","archived":false,"fork":false,"pushed_at":"2023-03-04T06:24:09.000Z","size":371,"stargazers_count":14,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-11T22:58:36.910Z","etag":null,"topics":["microcms","next","nextjs-template","react","ssg"],"latest_commit_sha":null,"homepage":"https://next-microcms-ssg.netlify.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/hiro08gh.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}},"created_at":"2020-03-09T03:43:05.000Z","updated_at":"2024-09-08T23:44:18.000Z","dependencies_parsed_at":"2023-02-07T13:46:46.952Z","dependency_job_id":null,"html_url":"https://github.com/hiro08gh/next-microcms-ssg","commit_stats":null,"previous_names":["hiro08gh/next-microcms-ssg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hiro08gh/next-microcms-ssg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiro08gh%2Fnext-microcms-ssg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiro08gh%2Fnext-microcms-ssg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiro08gh%2Fnext-microcms-ssg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiro08gh%2Fnext-microcms-ssg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiro08gh","download_url":"https://codeload.github.com/hiro08gh/next-microcms-ssg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiro08gh%2Fnext-microcms-ssg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281424580,"owners_count":26499020,"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","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"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":["microcms","next","nextjs-template","react","ssg"],"created_at":"2024-10-11T17:32:53.229Z","updated_at":"2025-10-28T10:30:41.128Z","avatar_url":"https://github.com/hiro08gh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js + microCMS\n\nNext.jsのgetStaticPropsとgetStaticPaths を使ってmicroCMSのデータを取得して、静的にビルドするサンプル。\n\n## バージョン\n\n- Next.js 11.1.0\n- React 17.0.1\n- ReactDOM 17.0.1\n\n## コンテンツモデル\nまず最初にmicroCMS側でコンテンツモデルを作成する必要があります。\n\nAPI名 - ブログ\n\nエンドポイント - blogs\n\n### APIスキーマ\n- title -\u003e テキストフィールド\n\n# 始め方\n\n```\n$ yarn install\n```\n\n.env.development.localを作成。\n\n```\n$ touch .env.development.local\n```\n\n## 開発サーバーの立ち上げ\n\nmicroCMSで取得しAPIキーとエンドポイントをenvファイルに記述。\n\n```\nAPI_KEY=xxxxx\nENDPOINT=https://your.microcms.io/api/v1\n```\n\nアプリケーションの立ち上げ\n\n```\n$ yarn dev\n```\n\n## SSG\n\n```\n$ yarn export\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiro08gh%2Fnext-microcms-ssg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiro08gh%2Fnext-microcms-ssg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiro08gh%2Fnext-microcms-ssg/lists"}