Building a Headless Ecommerce …

0 0
Read Time:44 Second



In this video, we’re going to build a simple Ecommerce website with Tailwind UI, Shopify, and Next.js.

We’ll fetch products from Shopify using the Storefront GraphQL API, and build our front-end by assembling and customizing components from Tailwind UI.

Demo site:
Tailwind UI:
Storefront API:

0:00 – Intro
0:42 – Starting point
1:56 – Tailwind UI
2:29 – Homepage hero
3:56 – Products list
5:26 – Storefront API
8:01 – Fetching data in Next.js
8:33 – Fetch helper method
10:50 – Products query
12:52 – Displaying products
15:55 – Drink some water!
16:04 – Single product page
16:33 – Tailwind UI page example
19:07 – Single product query
23:29 – Displaying the product
25:38 – Related products query
27:31 – Displaying related products
28:21 – Checkout button
32:45 – Wrap up

source

This post was automatic generated with this wp-automatic-plugin

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %
Naophae – Twitch VOD – Slime R… Previous post Naophae – Twitch VOD – Slime R…
Layout Designs || Free Blogger… Next post Layout Designs || Free Blogger…

49 thoughts on “Building a Headless Ecommerce …

  1. i love tailwind css!!!. i found no reason to not to use it. why using MUI or any other component based library when you have to customize it anyway.

  2. I'm not sure how you deal with that font in your IDE thats used for your classes. The lord is testing me lol

  3. I'm getting a FetchError: invalid json response body at xxxMY-SHOPIFY-DOMAINxxx reason: unexpected end of JSON input. This is really busting my head sinds I can't solve this even other people have looked at the code and can't seem to find the reason. Any idea or workaround for this?

  4. Isn't easier to map the response from GraphQL to a FE model and use it instead? I'm thinking that a slight change in BE response will break the FE.

  5. You don't know how much confidence you gave me. Just from this one video, I got a solid idea of how to create a custom Shopify theme with Shopify GraphQL API.
    I can't give you thank enough.

  6. Came here looking for a solution for actual related products functionality…. this is just mocking it up, right?

  7. Just brilliant. You covered and explained a plethora of tech there with a real world example with ease and superb clarity.

  8. This is more of a reference for troubleshooting your own app vs. a proper tutorial as too many key steps are left out. You could make do scraping the structures from their demo site, but you'd better reference other projects if you're actually looking to build a demo. Shame he didn't just use their demo UI elements to build this vs. trying to push paid options…trying to build a demo here. If I was selling it, I'd pay for your really pricey UI kit there TW…..

  9. I'd pay to watch you build a headless Nuxt + Tailwind + Sanity + Vercel/Netlify Website 👀 Great Video as always! 😊🙏🏻

Leave a Reply

Your email address will not be published.