{"id":15527063,"url":"https://github.com/tlenclos/remix-shop","last_synced_at":"2025-04-23T11:57:07.809Z","repository":{"id":149504691,"uuid":"518440947","full_name":"tlenclos/remix-shop","owner":"tlenclos","description":"Simple ecommerce website built with Remix","archived":false,"fork":false,"pushed_at":"2022-08-10T10:36:37.000Z","size":216,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T11:57:00.404Z","etag":null,"topics":["ecommerce","hypergraph","remix","remix-run","stripe","vercel"],"latest_commit_sha":null,"homepage":"https://remix-shop-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/tlenclos.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-07-27T12:03:11.000Z","updated_at":"2025-02-23T16:29:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba8dc2fa-5325-4e49-9369-0a5975051227","html_url":"https://github.com/tlenclos/remix-shop","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/tlenclos%2Fremix-shop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tlenclos%2Fremix-shop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tlenclos%2Fremix-shop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tlenclos%2Fremix-shop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tlenclos","download_url":"https://codeload.github.com/tlenclos/remix-shop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250430589,"owners_count":21429323,"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":["ecommerce","hypergraph","remix","remix-run","stripe","vercel"],"created_at":"2024-10-02T11:04:12.433Z","updated_at":"2025-04-23T11:57:07.804Z","avatar_url":"https://github.com/tlenclos.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to Remix Shop!\n\n- [Live example](https://remix-shop-example.vercel.app/) \n- [Remix Docs](https://remix.run/docs)\n\nThis is a template to start a small Ecommerce website with Remix, Hygraph and Stripe.\n\nYou can read more about it on our website TODO LINK (🇫🇷)\n\n⚠️ This project is given as an example, some choices were made and might be specific to the website we built.\n\n![https://remix-shop-example.vercel.app/](preview.jpg)\n## External services\n\n### Hygraph\n\nYou will need to create a Hygraph account and project. \nThis is a data CMS with a full GraphQL API.\n\nA Hygraph project is available here and you can start by [cloning it](https://app.hygraph.com/clone/a335f7c481a144f59d49e7634ddd307c?name=Ecommerce%20Remix). \n### Stripe\n\nThe project use the Stripe checkout component to handle payments.\n\nYou can create an account and get API keys on the [Stripe developer page](https://dashboard.stripe.com/test/developers).\n### Sendinblue\n\nYou will need to create a [Sendinblue](https://fr.sendinblue.com/) account and setup 2 emails template  :\n\n- Order completed (template id `1`)\n- Order shipped (template id `2`)\n\n## Development\n\n- Copy `.env.dist` file and fill necessary env variables.\n- Install dependencies.\n\n```sh\nyarn install\n```\n\n- Update schema url in `codegen.yml` , `.graphqlrc.yml` \u0026 `api.ts` with Hygraph Content API and run `yarn codegen\n\n- Afterwards, start the Remix development server like so:\n\n```sh\nyarn run dev\n```\n\nOpen up [http://localhost:3000](http://localhost:3000) and you should be ready to go!\n\n## Schema / database evolutions\n\nOnce you have modifications to the schema on Hygraph, you can generate the API client again with `yarn codegen`.\n\nIf you plan to do a lot of modifications, we advise to run these 2 commands in parallel `yarn codegen --watch` and `yarn tsc --watch`.\n\n## Webhooks\n\n- To debug webhooks start ngrok with\n\n```sh\nngrok http 3000\n```\n\n- [Update Hygraph url on the webhook settings page](https://hygraph.com/docs/api-reference/basics/webhooks).\n- [Create Stripe webhook url here to get return data from checkout.](https://dashboard.stripe.com/test/webhooks/create)\n\n## Deployment\n\nThis app uses Vercel for deployment but you can deploy anywhere with the [available adapters](https://remix.run/docs/en/v1/other-api/adapter).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftlenclos%2Fremix-shop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftlenclos%2Fremix-shop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftlenclos%2Fremix-shop/lists"}