https://github.com/fartlabs/shop
The FartLabs shop!
https://github.com/fartlabs/shop
denofresh
Last synced: 5 months ago
JSON representation
The FartLabs shop!
- Host: GitHub
- URL: https://github.com/fartlabs/shop
- Owner: FartLabs
- Created: 2025-02-04T20:38:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-13T07:30:58.000Z (over 1 year ago)
- Last Synced: 2025-02-13T08:28:22.345Z (over 1 year ago)
- Topics: denofresh
- Language: TypeScript
- Homepage: https://shop.fartlabs.org
- Size: 1.75 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FartLabs Shop
The [FartLabs](https://fartlabs.org) shop! Built with [Deno](https://deno.land/)
powered by [Shopify](https://www.shopify.com), and deployed to the edge with
[Deno Deploy](https://deno.com/deploy).
[_Learn how you can build an e-commerce site with a perfect Lighthouse score._](https://github.com/denoland/merch)
## Develop
- Clone the repository
- Set up Shopify credentials in the `.env`, follows `.env.example`.
- Start the project in local mode:
```bash
deno task start
```
## Shopify setup
- Create a new account or use an existing one.
- Create a new app. https://\.myshopify.com/admin/settings/apps
- Once your app has been created, select use it. Then select "Storefront API
integration" link
- Next, check Storefront API access scopes
- `unauthenticated_read_product_listings` access should be fine to get you
started.
- Add more scopes if you require additional permissions.
### Shopify troubleshooting
- If you encounter an error like `error code 401` you likely didn't set this up
correctly. Revisit your scopes and be sure add at least one test product. Also
make sure you are using the `Storefront API` and not the `Admin API` as the
endpoints and scopes are different.
---
Built with 💖 [**@FartLabs**](https://github.com/FartLabs)