{"repo":"basementstudio/commerce-toolkit","free":true,"listed":false,"github":"https://github.com/basementstudio/commerce-toolkit","clone":"git clone https://github.com/basementstudio/commerce-toolkit.git","description":"Ship better storefronts 🛍","language":"TypeScript","stars":288,"topics":["graphql","react","shopify","shopify-api","storefront-api","typescript","commerce","nextjs","storefront"],"license":"MIT","category":"ecommerce","readme_excerpt":"BSMNT Commerce Toolkit Welcome to the BSMNT Commerce Toolkit : packages to help you ship better storefronts, faster, and with more confidence. This toolkit has helped us—basement.studio—ship reliable storefronts that could handle crazy amounts of traffic. Some of them include: shopmrbeast.com, karljacobs.co, shopmrballen.com, and ranboo.fashion. 💡 If you're looking for an example with Next.js + Shopify, check out our example here. This repository currently holds three packages: 1. @bsmnt/storefront-hooks : React Hooks to manage storefront client-side state. - ✅ Manage the whole cart lifecycle with the help of @tanstack/react-query and localStorage - ✅ Easily manage your cart mutations (like adding stuff into it) - ✅ An opinionated, but powerful, way to structure storefront hooks 2. @bsmnt/sdk-gen : a CLI that generates a type-safe, graphql SDK. - ✅ Easily connect to any GraphQL API - ✅ Generated TypeScript types from your queries - ✅ Lighter than avarage, as it doesn't depend on graphql for production 3. @bsmnt/drop : Helpers for managing a countdown. Generally used to create hype around a merch drop. - ✅ Create your countdown in just a couple of minutes - ✅ Reveal your site only when the drop is ready to go (see this example from one of our drops) These play really well together, but can also be used separately. Let's see how they work! @bsmnt/storefront-hooks This package exports: - createStorefrontHooks : function that creates the hooks needed to interact with the cart. T","default_branch":null,"files":null,"tree":[],"storefront":"/r/basementstudio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/basementstudio/commerce-toolkit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}