{"id":18683090,"url":"https://github.com/foxy/foxy-notion-example-site","last_synced_at":"2026-01-27T09:17:25.220Z","repository":{"id":117347885,"uuid":"444942781","full_name":"Foxy/foxy-notion-example-site","owner":"Foxy","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-09T20:56:43.000Z","size":99,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-21T19:42:44.010Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"foxy-notion.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/Foxy.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":"2022-01-05T20:35:20.000Z","updated_at":"2023-07-06T02:38:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2d4046d-7cde-460f-9026-ddef3d24f7a6","html_url":"https://github.com/Foxy/foxy-notion-example-site","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Foxy/foxy-notion-example-site","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxy%2Ffoxy-notion-example-site","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxy%2Ffoxy-notion-example-site/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxy%2Ffoxy-notion-example-site/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxy%2Ffoxy-notion-example-site/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Foxy","download_url":"https://codeload.github.com/Foxy/foxy-notion-example-site/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxy%2Ffoxy-notion-example-site/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28810475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-07T10:13:43.533Z","updated_at":"2026-01-27T09:17:25.202Z","avatar_url":"https://github.com/Foxy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# An e-commerce store template built with Foxy and Notion\n\nLive demo: https://foxy-notion.vercel.app/\n\n## 🛠 Technologies used\n\n- [Next.js](https://nextjs.org/) - Front-end framework\n- [Notion](https://www.notion.so/) - Product database\n- [Foxy](https://foxy.io/) - E-commerce platform\n- [Vercel](https://vercel.com/) - Deployment\n- [Tailwind CSS](https://tailwindcss.com/) - CSS framework\n\n## 🚀 Quick start\n\n### 1. Create a Foxy store\n\n1. Sign up or log in your [Foxy admin account](https://admin.foxycart.com/admin)\n2. Create a new store or use an existing one. Other settings are optional. The key thing is to have your own Foxy store subdomain\n\n### 2. Set up a product database in Notion\n\n1. Sign up or log in [Notion](https://www.notion.so/login)\n2. Open [this template](https://bustling-naranja-1d1.notion.site/009d7e02dbe8479fb0bbc80458a5eb0d?v=2f6b23ba9e99493da557cf82ac5210bb) and duplicate the template\n3. Add your own products\n\n**Note on `Image URL` and `Image`:**\nLinks to files hosted by Notion will expire, so use the `Image URL` property if possible. If no `Image URL` is provided, it'll fall back to use the link to the uploaded file.\n\n### 3. Create an integration with the Notion database\n\n1. Go to https://www.notion.com/my-integrations\n2. Click the \"+ New integration\" button\n3. Give your integration a name\n4. Select the workspace where the product database exists\n5. Click the \"Submit\" button to create the integration\n6. The \"Internal Integration Token\" on the next page would be the `NOTION_TOKEN` environment variable\n7. In the product database, click the \"Share\" button\n8. Click the input field beside the \"Invite\" button, which opens a pop-up window to select an integration\n9. Select the integration created in previous steps\n10. Click the \"Invite\" button\n\n### 4. Get the required environment variables\n\n| Variable                     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |\n| ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `NOTION_TOKEN`               | Follow the steps in the [previous section](#3-create-an-integration-with-the-notion-database) to get this variable value                                                                                                                                                                                                                                                                                                                                                      |\n| `NOTION_DATABASE_ID`         | This should be the part of your product database URL after the workspace name and the slash and before the question mark. \u003cbr /\u003e For example, your product database URL is `https://www.notion.so/myworkspace/a8aec43384f447ed84390e8e42c2e089?v=...`, then the database ID would be `a8aec43384f447ed84390e8e42c2e089`                                                                                                                                                       |\n| `NEXT_PUBLIC_FOXY_SUBDOMAIN` | The Foxy store subdomain, which can be found in the Foxy admin [Dashboard](https://admin.foxycart.com/admin.php). \u003cbr /\u003e For example, your store domain is `foxy-demo.foxycart.com`, then the subdomain would be `foxy-demo`                                                                                                                                                                                                                                                  |\n| `FOXY_STORE_SECRET`          | This is required only if you want to enable [Foxy HMAC cart validation](https://wiki.foxycart.com/v/2.0/hmac_validation). \u003cbr /\u003e To get this variable value, go to [Advanced Settings](https://admin.foxycart.com/admin.php?ThisAction=EditAdvancedFeatures) in the Foxy admin. Look for the \"store secret\" setting, click the \"Show\" button, and copy the value in the text box. Be sure to check the \"would you like to enable cart validation?\" option in the same section |\n\n### 5. Deploy to Vercel with one click\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FFoxy%2Ffoxy-notion-example-site\u0026env=NOTION_TOKEN,NOTION_DATABASE_ID,NEXT_PUBLIC_FOXY_SUBDOMAIN)\n\n## 🏗 Want to get your hands dirty?\n\n1. Clone this repo: `git clone https://github.com/Foxy/foxy-notion-example-site`\n2. Copy the `.env.example` file to `.env.local`, and set the [variables](#4-get-the-required-environment-variables)\n3. Make your changes\n4. Push it to GitHub/GitLab/Bitbucket and [import to Vercel](https://vercel.com/new).\n\n**Important**: When you import your project on Vercel, make sure to click on **Environment Variables** and set them to match your `.env.local` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxy%2Ffoxy-notion-example-site","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxy%2Ffoxy-notion-example-site","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxy%2Ffoxy-notion-example-site/lists"}