{"id":13624215,"url":"https://github.com/okbel/next-store","last_synced_at":"2025-04-30T12:03:27.500Z","repository":{"id":42791190,"uuid":"272196526","full_name":"okbel/next-store","owner":"okbel","description":"A proof of concept for e-commerce systems using a NextJS seed ready to be deployed with Vercel.","archived":false,"fork":false,"pushed_at":"2023-01-06T09:17:17.000Z","size":10785,"stargazers_count":52,"open_issues_count":11,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T07:41:29.238Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://next-store-pi.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/okbel.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-06-14T12:21:05.000Z","updated_at":"2024-09-09T09:21:40.000Z","dependencies_parsed_at":"2023-02-05T18:45:52.055Z","dependency_job_id":null,"html_url":"https://github.com/okbel/next-store","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/okbel%2Fnext-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okbel%2Fnext-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okbel%2Fnext-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okbel%2Fnext-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okbel","download_url":"https://codeload.github.com/okbel/next-store/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242650895,"owners_count":20163610,"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-08-01T21:01:40.126Z","updated_at":"2025-03-09T05:30:21.780Z","avatar_url":"https://github.com/okbel.png","language":"JavaScript","readme":"# next-store\n\nA proof of concept using a NextJS seed ready to be deployed with Vercel.\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/git?c=1\u0026s=https://github.com/okbel/next-store)\n\n### Features\n\n- Lazy Image Loading x2\n- CSS Purged\n- Green on Lighthouse\n\n![Image of Lighthouse](https://res.cloudinary.com/vercel/image/upload/v1592422143/lighthouse_agjpn1.png)\n\n### Tech Stack\n\n- Nextjs\n- PurgeCSS\n- TailwindCSS\n- PostCSS\n  - Allows nesting and imports.\n\n## Up and Running\n\n- Develop running `npm run dev` - [http://localhost:3000](http://localhost:3000)\n\n- Build `npm run build`\n\n- Deploy `vercel --prod`\n\n## Demo\n\n[https://next-store-pi.vercel.app](https://next-store-pi.vercel.app)\n\n## Data Fetching\n\nUsing SWR:\n\n```js\nimport useSWR from \"swr\";\n\nfunction Profile() {\n  const { data, error } = useSWR(\"/api/user\", fetcher);\n\n  if (error) return \u003cdiv\u003efailed to load\u003c/div\u003e;\n  if (!data) return \u003cdiv\u003eloading...\u003c/div\u003e;\n  return \u003cdiv\u003ehello {data.name}!\u003c/div\u003e;\n}\n```\n\n## Examples and Resources\n\n- NextJS with Prismic [https://github.com/vercel/next.js/tree/canary/examples/cms-prismic](https://github.com/vercel/next.js/tree/canary/examples/cms-prismic)\n- Data fetching with [SWR](https://swr.now.sh/)\n- [Nextjs Documentation](https://nextjs.org/docs/getting-started)\n- Incremental Static Generation [https://static-tweet.now.sh/](https://static-tweet.now.sh/)\n","funding_links":[],"categories":["JavaScript","Nextjs Templates"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokbel%2Fnext-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokbel%2Fnext-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokbel%2Fnext-store/lists"}