{"id":16367909,"url":"https://github.com/treetips/nextjs-geistui-swr-example","last_synced_at":"2025-10-11T03:59:44.014Z","repository":{"id":150606723,"uuid":"311505646","full_name":"treetips/nextjs-geistui-swr-example","owner":"treetips","description":"nextjs-geistui-swr-example","archived":false,"fork":false,"pushed_at":"2020-11-10T00:59:54.000Z","size":222,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T17:11:34.363Z","etag":null,"topics":["context-api","geist-ui","nextjs","swr","typescript"],"latest_commit_sha":null,"homepage":"https://nextjs-geistui-swr-example.vercel.app/","language":"TypeScript","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/treetips.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-11-10T00:59:14.000Z","updated_at":"2023-12-22T15:07:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"fbeb3d27-d0f8-4e30-b4c8-0f079c882fbf","html_url":"https://github.com/treetips/nextjs-geistui-swr-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/treetips/nextjs-geistui-swr-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treetips%2Fnextjs-geistui-swr-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treetips%2Fnextjs-geistui-swr-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treetips%2Fnextjs-geistui-swr-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treetips%2Fnextjs-geistui-swr-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/treetips","download_url":"https://codeload.github.com/treetips/nextjs-geistui-swr-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treetips%2Fnextjs-geistui-swr-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006112,"owners_count":26084027,"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-11T02:00:06.511Z","response_time":55,"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":["context-api","geist-ui","nextjs","swr","typescript"],"created_at":"2024-10-11T02:51:09.857Z","updated_at":"2025-10-11T03:59:44.009Z","avatar_url":"https://github.com/treetips.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nextjs-geistui-swr-example\n\nThis is a sample using `TypeScript` , `Vercel` , `Next.js` , `Geist-UI` , `SWR` , and `React Context API`.\n\nThis is a `Vercel-friendly` sample using Vercel products.\n\nこれは、 `TypeScript` , `Vercel` , `Next.js` , `Geist-UI` , `SWR` , `React Context API` を使ったサンプルです。\n\nVercelプロダクトを使った、 `Vercelフレンドリー` なサンプルです。\n\n## Live demo\n\n[Live Demo](https://nextjs-geistui-swr-example.vercel.app/)\n\n## Features\n\n- [TypeScript](https://www.typescriptlang.org/)\n- Vercel Products\n    - [Next.js](https://nextjs.org/)\n    - [Geist-UI](https://react.geist-ui.dev/en-us/guide/introduction)\n    - [SWR](https://swr.vercel.app/)\n- [React Context API](https://reactjs.org/docs/context.html)\n- [react-context-devtool](https://github.com/deeppatel234/react-context-devtool)\n- [json-server](https://github.com/typicode/json-server)\n- [Web Vitals](https://nextjs.org/docs/advanced-features/measuring-performance)\n\n\n## Setup\n\n- [Visual Studio Code](https://code.visualstudio.com/)\n- [EditorConfig for VS Code](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig)\n- [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)\n- `react-context-devtool` [Chrome](https://chrome.google.com/webstore/detail/react-context-devtool/oddhnidmicpefilikhgeagedibnefkcf) / [FireFox](https://addons.mozilla.org/en-US/firefox/addon/react-context-devtool/) / [MS Edge](https://microsoftedge.microsoft.com/addons/detail/react-context-devtool/bnclaomncapgohhafjepfklgbjdjlfcd) \n\n## Usage\n\n### Run Local\n\n```bash\ngit clone https://github.com/treetips/nextjs-geistui-swr-example.git\ncd nextjs-geistui-swr-example\nnpm i\nnpm run dev\n```\n\n### Run Production\n\n```bash\ngit clone https://github.com/treetips/nextjs-geistui-swr-example.git\ncd nextjs-geistui-swr-example\nnpm i --production\nnpm run build\nnpm start\n```\n\n## Note\n\nAlthough I use `jsons-server` as the API server in the `local environment` , in the `production environment (live demo)` , I want to make it in-memory for the browser, so I have implemented the API independently with Next.js.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreetips%2Fnextjs-geistui-swr-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftreetips%2Fnextjs-geistui-swr-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreetips%2Fnextjs-geistui-swr-example/lists"}