{"id":7547475,"url":"https://github.com/BuddifyApp/shopify-app-template-typescript","last_synced_at":"2025-05-11T23:31:26.081Z","repository":{"id":37027527,"uuid":"502037436","full_name":"BuddifyApp/shopify-app-template-typescript","owner":"BuddifyApp","description":"🧩 Shopify App Template (Node) with TypeScript (v2)","archived":false,"fork":true,"pushed_at":"2022-08-26T15:29:45.000Z","size":7019,"stargazers_count":43,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-06T15:26:09.177Z","etag":null,"topics":["shopify","shopify-app","shopify-embedded-applications","shopify-polaris"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Shopify/shopify-app-template-node","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BuddifyApp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2022-06-10T12:36:43.000Z","updated_at":"2025-05-06T04:39:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/BuddifyApp/shopify-app-template-typescript","commit_stats":null,"previous_names":["buddifyapp/shopify-app-template-typescript","kanzitelli/shopify-app-template-typescript"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuddifyApp%2Fshopify-app-template-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuddifyApp%2Fshopify-app-template-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuddifyApp%2Fshopify-app-template-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuddifyApp%2Fshopify-app-template-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BuddifyApp","download_url":"https://codeload.github.com/BuddifyApp/shopify-app-template-typescript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253650795,"owners_count":21942217,"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":["shopify","shopify-app","shopify-embedded-applications","shopify-polaris"],"created_at":"2024-04-08T00:49:11.725Z","updated_at":"2025-05-11T23:31:25.799Z","avatar_url":"https://github.com/BuddifyApp.png","language":"TypeScript","readme":"# Shopify App Node with TypeScript\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE.md)\n\nThis is a sample app (**with TypeScript**) to help developers bootstrap their Shopify app development.\n\nIt leverages the [Shopify API Library](https://github.com/Shopify/shopify-node-api) on the backend to create [an embedded app](https://shopify.dev/apps/tools/app-bridge/getting-started#embed-your-app-in-the-shopify-admin), and [Polaris](https://github.com/Shopify/polaris-react) and [App Bridge React](https://shopify.dev/tools/app-bridge/react-components) on the frontend.\n\nThe original template (with JavaScript) is [Shopify/shopify-app-template-node](https://github.com/Shopify/shopify-app-template-node) that is used when you create a new Node app with the [Shopify CLI](https://shopify.dev/apps/tools/cli).\n\nThis is a minimalistic fork with **TypeScript** support.\n\n## Requirements\n\n- If you don’t have one, [create a Shopify partner account](https://partners.shopify.com/signup).\n- If you don’t have one, [create a Development store](https://help.shopify.com/en/partners/dashboard/development-stores#create-a-development-store) where you can install and test your app.\n- **If you are not using the Shopify CLI**, in the Partner dashboard, [create a new app](https://help.shopify.com/en/api/tools/partner-dashboard/your-apps#create-a-new-app). You’ll need this app’s API credentials during the setup process.\n\n## Quickstart\n\n1. Clone the repo\n\n```sh\nnpx degit kanzitelli/shopify-app-template-typescript shopify-app-ts\n```\n\n2. Create Shopify app\n\n- You can do it using [Shopify CLI](https://github.com/Shopify/shopify-cli):\n\n```sh\nshopify app create node\n```\n\nThen copy `.env` file to the typescript project and remove the one you just created.\n\n- Or you can do it in the Shopify Partner Dashboard and then filling `.env` file with app's credentials (see `.env.example`).\n\n_Note:_ `HOST` value will be auto-filled when you run the app.\n\n3. Go to your app's directory and install packages\n\n```sh\ncd shopify-app-ts \u0026\u0026 yarn\n```\n\n_Note_: You could see error `fatal: not a git repository (or any of the parent directories): .git` that comes from `husky install` command. Once you do `git init`, it will disappear.\n\n4. Run the app\n\n```sh\nshopify app serve\n```\n\nInstall and start using the app by opening provided URL in your browser: _https://some-ngrok-subdomain-xxxx.ngrok.io/login?shop=your-shop-name.myshopify.com_\n\n## Deployment\n\nWe will probably need to deploy it somewhere in the cloud when we are done with the app.\n\nSo `Dockerfile` and `Docker Compose` with `https://` setup will be coming soon...\n\n## Enhancements\n\nThere are plans to create an advanced `shopify-app-starter` that will be powered by React Router, Mobx, a more opinionated structure, release-it, and other useful things.\n\n## Similar starters\n\n- [SaeedYasin/shopify-app-template](https://github.com/SaeedYasin/shopify-app-template) - fork from the current one + Prisma support added, and some other addons.\n\n## Motivation\n\nI started developing a Shopify app some time ago that uses NextJS and Koa, which are deprecated in favour of pure React App and Express. The codebase was primarily written using TS, and it was painful to see that Shopify doesn't provide a new template with TS setup. There is the [issue](https://github.com/Shopify/shopify-app-template-node/issues/690) since January 2022 where people ask for TS support but no luck so far. So that's how this repo was born. I tried to keep it as close as possible to the [original repo](https://github.com/Shopify/shopify-app-template-node) but with TypeScript support.\n\n## License\n\nThis repository is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBuddifyApp%2Fshopify-app-template-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBuddifyApp%2Fshopify-app-template-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBuddifyApp%2Fshopify-app-template-typescript/lists"}