Тёмный

Next.js 14 E-Commerce Website with Stripe, and Sanity.io | Full Stack Tutorial | 2023 

Jan Marshal
Подписаться 17 тыс.
Просмотров 79 тыс.
50% 1

Опубликовано:

 

25 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 212   
@ElNicopewpew
@ElNicopewpew Год назад
Sweet! If you would like to expand on this tutorial, I think we the people would love to see you implement a dynamic navbar, so the user can add new categories from sanity, and perhaps a search function?
@MrMrkram18
@MrMrkram18 11 месяцев назад
Just deployed to Vercel with stripe & sanity great video.
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
Thanks ✌🏻
@tommytanti1776
@tommytanti1776 7 месяцев назад
Thanks brother, you have been a life savior.
@CHEF_ALMERIA
@CHEF_ALMERIA 2 месяца назад
The first ecommerce ever without sizing functionality...
@DevVibes9863
@DevVibes9863 5 месяцев назад
Nice Project! Helped me to increase my Website Development skills from basic to very high level. Best project ever in my life.
@fexzi4074
@fexzi4074 8 месяцев назад
Just deployed to vercel and its working. Thanks. Can you make another tutorial to explain react crash course.
@janmarshalcoding
@janmarshalcoding 8 месяцев назад
Great! I will probably do it at some point...
@CptJuke
@CptJuke 8 месяцев назад
Great Tutorial! You make everything look so easy…
@janmarshalcoding
@janmarshalcoding 8 месяцев назад
I wish haha
@CptJuke
@CptJuke 8 месяцев назад
@@janmarshalcoding yeah i wish it was that easy aswell! haha
@petrzajkas337
@petrzajkas337 8 месяцев назад
Great tutorial, thanks for what you doing! It's well explained in detail and an easy-to-follow tutorial. You just earned yourself a subscriber. :) More tutorials like this, please. Stay safe.
@user786-d4w
@user786-d4w 3 месяца назад
Such a Great Tutorial..👏👏💙
@bijendernagar15
@bijendernagar15 11 месяцев назад
Thanks for your efforts best tutor on youtube you explain every thing in detail and simple words for begainers understand properly thanks again Subscribed you Love From India
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
Thank you ✌🏻
@omarzaeda
@omarzaeda 7 месяцев назад
I made it : ), thanks bro
@SatyamChaturvedi-ej9zk
@SatyamChaturvedi-ej9zk 6 месяцев назад
Great tutorial Jan btw anyone facing issues while fetching data in sanity, I am getting drafts as well when fetching products
@Schick3r
@Schick3r 5 месяцев назад
Thank you! i subscribed to you directly. i also use the aura theme in vs code :)
@syedahafsadeveloper
@syedahafsadeveloper 7 месяцев назад
Amazing website
@anjumraza8003
@anjumraza8003 10 месяцев назад
Hello Jan Marshal, Nice Job, Thank you so much for such wonderful tutorial build.
@syedahafsadeveloper
@syedahafsadeveloper 7 месяцев назад
you earned a subscriber
@paulreidy8131
@paulreidy8131 6 месяцев назад
Hi Jan, scratch that last question, I'd named the Newest.tsx as a .jsx file.
@yoann-philippewilson4791
@yoann-philippewilson4791 6 месяцев назад
thank you bro you are the best
@fiimble
@fiimble 11 месяцев назад
Hello Jan, Thanks so much for such wonderful tutorial build. Thanks again!
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
Thanks 😀
@fiimble
@fiimble 11 месяцев назад
Hey @@janmarshalcoding I implemented the 'clearCart()' method upon a successful payment on localhost. It works and the cart is emptied when I return to the store. But when I use the live server -vercel- for testing the cart still shows the items in it, even after a successful test transaction. Do I have to be on "LIVE" mode and NOT on "TEST" on Stripe for it to work? Best regards, Jorge
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
Hey Gorge, I haven't tried clearCart, but will try to reproduce it later tonight and will come back with my results. So cool that you try to tackle problems you face yourself, most just complain 🤌🏻👍🏻. Also to clarify, you mean emptying the cart works on localhost with clearCart() but not in production using vercel?
@tenr01
@tenr01 10 месяцев назад
@20:42 to make a reference from one document to another. Super important, when you are using numerous documents!
@TKTBC777
@TKTBC777 9 месяцев назад
Thanks!
@janmarshalcoding
@janmarshalcoding 9 месяцев назад
Thank you
@Damian.30_d
@Damian.30_d 9 месяцев назад
Thank you so much for this video, I've learnt a lot but when i add a second product to the cart, it just increases the quantity of the previously added product. I can only seem to add one product, every other thing i add just increases the quantity of the product that's already there
@sergioafanadorbayona2043
@sergioafanadorbayona2043 8 месяцев назад
I was getting the same bug, double check if you are adding "key={data._id}" into " " tag in "app>product>[slug]>page.tsx " that worked for me
@fexzi4074
@fexzi4074 8 месяцев назад
hmm this didnt work though@@sergioafanadorbayona2043
@yantaosong
@yantaosong 10 месяцев назад
thanks Jan , it is a wonderful vedio about e-commerce site , hope adding the paypal of payment .
@jeffqseid2169
@jeffqseid2169 8 месяцев назад
Error: async/await is not yet supported in Client Components, only Server Components. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server. for both CheckNow and AddToBag :(
@davelyashuk7979
@davelyashuk7979 7 месяцев назад
Спасибо!
@janmarshalcoding
@janmarshalcoding 7 месяцев назад
🙏🏻
@sanagolzar
@sanagolzar 4 месяца назад
Hey bro , Thank you for the awesome tutorial , I'm a beginner in JS and I'm starting using your tutorials, however in this one , when I wanted to config sanity I noticed that they completely changed their project in their latest update and made a standalone studio and whatnot, How can I continue? Can this project be done without sanity ? I am more keen to create my own admin dashboard and database for the project.
@janmarshalcoding
@janmarshalcoding 4 месяца назад
Well, then I have great news for you, because I will release an ecommerce tut this week with all the thing you just mentioned. Stay tuned.
@sanagolzar
@sanagolzar 4 месяца назад
@@janmarshalcoding ​ Wow, that's awesome! I'll be waiting for it. Thanks!
@kazimwrites5030
@kazimwrites5030 9 месяцев назад
Hello Jan I hev error cannot ready property of undefined ('reading' 'disptach') how to solve this guide mr
@sergioafanadorbayona2043
@sergioafanadorbayona2043 8 месяцев назад
I'm having the same issue right now "TypeError: Cannot read properties of undefined (reading 'dispatch')" it shows that the error is coming from the "const {cartCount}= useShoppingCart();" part
@sergioafanadorbayona2043
@sergioafanadorbayona2043 8 месяцев назад
solved, i was importing {CartProvider} from "use-shopping-cart" insted of import CartProvider from "./components/Providers" into Layout.tsx
@AoseiOK
@AoseiOK 6 месяцев назад
Were you able to solve it? The same thing happens to me in Navbar.tsx ' ⨯ node_modules eact-redux\es\hooks\useDispatch.js (18:0) @ useDispatch ⨯ TypeError: Cannot read properties of undefined (reading 'dispatch') in the navigation bar (./app/components/NavBar.tsx:38:99) zero
@DezloperShopify
@DezloperShopify Месяц назад
Thanks for this great tutorial man. i am just having this one issue export const dynamic = "force-dynamic"; its updating in local server from live studio but it is not updating the live website. and my head hurts now seriously help me out
@MarosiMate-sq2wm
@MarosiMate-sq2wm Год назад
Great video! Also, you look like someone I know irl.
@NeillWhite
@NeillWhite 7 месяцев назад
Hi Jan any idea how to remove the old images i have been following the tutorial up to 1.04 however when i try to replace the images the old ones stay. Please help..
@harunalrd
@harunalrd Год назад
First, and it was 4.55 AM in my country 😂
@sitheekmohamedarsath
@sitheekmohamedarsath 10 месяцев назад
Great work.
@wowgaming2663
@wowgaming2663 7 месяцев назад
Its functional add to card etc where you implemented please time stemp
@neerajverma9226
@neerajverma9226 Месяц назад
Can you update this course add authentication? and manage orders?
@OrganicDevelopment-t3s
@OrganicDevelopment-t3s Год назад
Please, how do I modify the stripe checkout page and collect the customer's address?
@adelekeadeyemo9672
@adelekeadeyemo9672 7 месяцев назад
Thanks for this project Mr Jan. Please I'm getting an error whenever i try to fetch my hero images @58.40 minutes. the error says: Error: Dataset not found - Dataset "production" not found for project ID. kindly help because I'm stuck. Thank you
@ShahnawazSayyad
@ShahnawazSayyad 11 месяцев назад
This is nice.. request you to do more of Remix tuts
@ahmedyarkhan7006
@ahmedyarkhan7006 11 месяцев назад
ver nice tutorial can u add clerk auth
@mahendranath2504
@mahendranath2504 11 месяцев назад
nice thank you so much, liked and subscribed 😍😍🎉🎉🎊🎊👍👍👌👌🙌🙌
@AnupomRoy-is3pc
@AnupomRoy-is3pc Месяц назад
Just one thing. In 1080p it's hard to read the code. Please consider zooming a little bit next time.
@janmarshalcoding
@janmarshalcoding 21 день назад
Hey, sorry for that. When I created this video, I was still learning this whole RU-vid thing haha. If you look at the intro it's funny enough shot in 720p, but I thought it was 4k hahaha. All my new videos are produced 10x better.
@UAng-ro9kt
@UAng-ro9kt 10 месяцев назад
nice UI
@alexiizz1222
@alexiizz1222 4 месяца назад
I got an error at 1:20:30 TypeError: Cannot read properties of null (reading 'default'), maybe i did something wrong but if you are getting the same error i solved it adding a 5 instead of a 4 to [_type == "product"][0...5]
@davidGeorge-eo1yl
@davidGeorge-eo1yl Месяц назад
Pls when I try to run the image gallery and page.tsx it always gives me a runtime error of the data.image property is null Pls what should I do 🙏
@theintjengineer
@theintjengineer Год назад
Second, and it's 01:05 a.m in my country 😂
@carsoundsintheworld
@carsoundsintheworld Месяц назад
Can i install Mollie payments as the same method for the payment provider?
@tattooedvl
@tattooedvl 10 месяцев назад
Thanks for ur video. Can u help me: why I can't see the price including sale percent inside my shopping cart? for example, newest page have sale price, when I click category - same, but when inside my cart can c only normal price without sale. How I can fix it ? Thanks
@zunnoorainrafi5985
@zunnoorainrafi5985 Год назад
Will you please make an e-commerce website using Remix which includes pagination, infinite scrolling، image optimization, uploading images , authentication with credentials and also with Google.
@Pikachu-cj9he
@Pikachu-cj9he 11 месяцев назад
nice project. Can you please specify that in this project you use reactJs or typescript only.
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
At the end of the day typescript is still JavaScript. So when you follow the project just don’t create any types (interfaces etc.)
@Kmkn308
@Kmkn308 10 месяцев назад
Hey Jan Marshall Bro . Hope you are fine Brother dynamic page images you didn't discuss which api you use to get images i am stuck there ..
@snowin_jj
@snowin_jj 8 месяцев назад
The explanation and the contents are good. But imagine if you're building an application for a client. Creating the price ID from Stripe and adding it to the sanity is a bit annoying.
@janmarshalcoding
@janmarshalcoding 8 месяцев назад
You could always listen to a webhook and do it that way. But that's to overkill for this free vid.
@omererkul1669
@omererkul1669 8 месяцев назад
@@janmarshalcoding Do you mean whenever you create a new product in Sanity, you will add this through the Stripe api in the Stripe dashbooard?
@marumaru296
@marumaru296 7 месяцев назад
Nah its not annoying at all im agree with u if u have hundreds of item bu t for small businesses it is okay
@JDUDEadventure
@JDUDEadventure 7 месяцев назад
Hi Jan, On the global.css tailwind imports how do you fix the error underline? I keep getting that and its annoying.
@randerins
@randerins 11 месяцев назад
Great project! There's just a problem, you Vercel link to the project is not working...
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
Because I don't have unlimited bandwidth 😂 and therefore I deleted the deployment.
@rootbindev
@rootbindev 11 месяцев назад
Error: Cannot read properties of null (reading 'image1')
@MrMrkram18
@MrMrkram18 11 месяцев назад
if you add export const dynamic = "force-dynamic"; to the root page it will work, had same problem
@loveoner
@loveoner 11 месяцев назад
@@MrMrkram18 even after adding the export above, it didn't fix the issue for me
@Imam.Mehdi_
@Imam.Mehdi_ 10 месяцев назад
​@@loveonerif you selected html element using js... Then correct them
@barmejtech
@barmejtech 10 месяцев назад
check the const query = " here spells"
@isaevallahverdi
@isaevallahverdi 10 месяцев назад
​@@MrMrkram18 can u explain more detailly pls
@ayushsonone4772
@ayushsonone4772 Месяц назад
i want to integrate upi payment gateway instead of stripe any suggestions
@emenikedaniel
@emenikedaniel 11 месяцев назад
Tried following this but use-shopping-cart dependencies are not well managed. I used pnpm for this project, it kept complaining about that package. Thanks a lot for this tutorial. Appreciate
@webunveilers
@webunveilers 10 месяцев назад
it's just a warning. because it is outdated
@davidt510
@davidt510 11 месяцев назад
Nice video! Could this be deployed for real world use? I'm just thinking about how it would work if you had customers - there isn't a register/login/user account area so would they be able to see previous orders etc?
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
Thanks, well, it can be deployed for real world use, but I would definitely NOT recommend it. This ecommerce store is very "basic" and as you already mentioned features like account are not implemented. Also, I would not really recommend using stripe for Ecommerce for various reasons. Therefore, my recommendation is either you invest a lot of time and create a custom ecommerce storefront or just use Shopify, which makes it like 1000x easier.
@webunveilers
@webunveilers 10 месяцев назад
why stripe isn't a good option and what is alternative@@janmarshalcoding
@anasahmed3480
@anasahmed3480 10 месяцев назад
Can I ask please? Why stripe isn't recommended for real life use?@@janmarshalcoding
@yantaosong
@yantaosong 10 месяцев назад
@@janmarshalcoding add next-auth for login and user information , or any other ?
@paulreidy8131
@paulreidy8131 6 месяцев назад
Hope you can help Jan. At 1:14 when the interface.ts file is created and the line const data = await getData(); changes to const data: simplifiedProduct[ ] = await getData(); I get an error 'const' declarations must be initialized. Do you know whats going on here?
@muktarayodeji7257
@muktarayodeji7257 4 месяца назад
Are you still experiencing this issue? if so try declaring 'const data = client.fetch(query)' in the getData function
@paulreidy8131
@paulreidy8131 4 месяца назад
@@muktarayodeji7257 Thanks for replying, my problem was with a jsx file extension that should have been tsx.
@victoriousinsight
@victoriousinsight 11 месяцев назад
After setting up my sanity studio with the initial data it worked, but whenever i make a change and publish it, it still shows me my previous data in my next app. I even had to delete some data in the studio but the changes are not reflected in the next app
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
Did you add revalidate tags ?
@victoriousinsight
@victoriousinsight 11 месяцев назад
@@janmarshalcoding Where should I add it? I didn't see that in the video. If it's in the video please paste the timestamp
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
Well it’s at the end of the vid, 3 hours mark or so
@KingPacavision
@KingPacavision 9 месяцев назад
Do you know why I cant query into my sanity studio? its saying "Cannot read properties of null (reading 'image1')". When I console log it out its saying that my query is null like its just not returning any data my code looks the same as yours. Thank you
@KingPacavision
@KingPacavision 9 месяцев назад
nvm I just had to update my projectID in the lib/sanity.ts I guess my project was never connected to my sanity server.
@tommytanti1776
@tommytanti1776 8 месяцев назад
​@@KingPacavisionhow did you fix it? I'm getting the same error, and project id is already updated.
@tommytanti1776
@tommytanti1776 7 месяцев назад
Got it resolved. First check the query if it has any value reflected as "null" on the vision page. Update the sanity content page with valid value. Then go to lib folder, sanity.ts change the useCdn as false.
@LifeGlitch9292
@LifeGlitch9292 2 месяца назад
​@@tommytanti1776 please give a detailed guide please
@MERCEDES_AMG_F1
@MERCEDES_AMG_F1 8 месяцев назад
Hello Jan first amazing project and tutorial but I have a error can you help me to fix : Unhandled Runtime Error Error: Cannot read properties of null (reading images') Source app \product\[slug]\page.tsx (39:37) @ images 37. 38 39 ‹div className="mx-auto max-w-screen-xl px-4 md:px-8"> ‹div className="grid gap-8 md:grid-cols-2"> «ImageGallery images={data. images} /> C 40 4.1 42 Show collapsed frames ‹div className="md:py-8".› ‹div className="mb-2 md: mb-3">
@tommytanti1776
@tommytanti1776 7 месяцев назад
Is it fixed getting the same error?
@Isticsek
@Isticsek 11 месяцев назад
Hello Jan! First of all, great tutorial, thank you! Great explanations on every aspect. Subscribed! However I'm facing hydration error when I wrap my entire DOM with the CartProvider: Error: Hydration failed because the initial UI does not match what was rendered on the server. I don't see this happening on the video while following you along. Could you help me fix this? Thanks!
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
Hey Pasztor 👋, I appreciate it, thank you. So to clarify when you don't add the cart provider you get the hydration warning but if you don't, you don't get one? Could you also test if you get a hydration warning in the incognito tab?
@Isticsek
@Isticsek 11 месяцев назад
@@janmarshalcoding Thanks for the quick response! Yes, I've already tested in incognito, but the issue seems to come after the fact that we are trying to embed a server component inside a Client component which CartProvider is.
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
So without seeing your code, I can't definitely say where the error comes from. I personally dont think that there is a error with the cartprovider since i did not have any problems with hydration but rather with html element nesting or not closing tags. Now there to things we can do, you can check your code against my in my GitHub and learn how to debug code (the preferable way...) Or even tough I don't like offering this, you can send me your code by email, and I will try to look at it when I have the time.
@abhishekgiri013
@abhishekgiri013 6 месяцев назад
@@Isticsek is your issue resolved ?
@Isticsek
@Isticsek 6 месяцев назад
@@abhishekgiri013 unfortunately nope. But I guess the issue was that we try to use a server component inside a client component.
@rootbindev
@rootbindev 11 месяцев назад
Awesome
@lordsonmateleddi5481
@lordsonmateleddi5481 Год назад
great work ❤
@janmarshalcoding
@janmarshalcoding Год назад
Thanks 😄
@lordsonmateleddi5481
@lordsonmateleddi5481 Год назад
@@janmarshalcoding there aren't so much course on sanity on youtube so keep up the good work
@MarosiMate-sq2wm
@MarosiMate-sq2wm Год назад
@@lordsonmateleddi5481 meh, throw the Sanity part. There are probably no videos on Next 14, right now.
@rootbindev
@rootbindev 11 месяцев назад
actually he doesnt even use next 14 in this one @@MarosiMate-sq2wm
@user786-d4w
@user786-d4w 2 месяца назад
hi my checkout button still not working after change the button what the issue can anyone guide me??
@tundejames_20
@tundejames_20 11 месяцев назад
Thanks, Jan for this wonderful video tutorial, I have learned a lot. However I am getting this error message when I click on the checkout button in the console: "IntegrationError: No such plan: '4c2f6f9d-31dd.......'". I have checked online to resolve the error but haven't gotten an answer yet. Please can you help?
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
Hey, please check two things: have you enabled the client only integration and did you use the price Id? In stripe there are two id’s and you need the price id
@tundejames_20
@tundejames_20 11 месяцев назад
Yes, the client only is set and I used the price id generated for each product. the price id starts with price_ right?@@janmarshalcoding
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
Yes... Can you go into stripe dashboard and check the logs and tell me what is says when you try to check out
@tundejames_20
@tundejames_20 11 месяцев назад
@@janmarshalcoding This is the response from the log: resource_missing - items No such plan: '4c2f6f9d-31dd-4ab4-ad5a-4e075f70c14e' Status: 400 ERR
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
Ok so the error tells you that such ID does not exist, this is also correct since as you already mentioned the stripe id starts with price_. So going from that I'm pretty sure you are passing the wrong id to your AddToBag component. It seems to me that instead of the price_id you are passing the id of the product to stripe, which is generated by sanity. Thats why stripe is throwing a error since id that you pass is not equivalent to the stripe price_id. Based on this, Please check your props
@lastspoil5547
@lastspoil5547 2 месяца назад
i can't get the source code to work. i dont understand how to install source code.
@vineetjadhav1785
@vineetjadhav1785 6 месяцев назад
When i treid to checkout its says in my console log no such plans does anyone know this fix of error
@liu-river
@liu-river 10 месяцев назад
Do you know how I can use revalidatePath with sanity webhook instead of force-dynamic all the ssg pages? I can't find an example online with app router
@janmarshalcoding
@janmarshalcoding 10 месяцев назад
Well, you could do that, but I surely would not do that... I would rather delete force-dynamic and add the following: export const revalidate = 3600 // revalidate the data at most every hour then change the seconds to what ever you prefer...
@liu-river
@liu-river 10 месяцев назад
@@janmarshalcoding But what if I need almost instant revalidation but have thousands of routes. What is the actual cost of this data refetching, say if I have 1000 dynamic routes, it gets rebuilt 1000 times every minute, do you know if there is a limit on Vercel?
@tonihaq5576
@tonihaq5576 5 месяцев назад
when clicking the checkout button not directed to the stripe link I see the console server not responded 404 how do I fix it
@muktarayodeji7257
@muktarayodeji7257 4 месяца назад
hi. Have you resolved this? i'm also experiencing a similar issue myself
@spiriteddave
@spiriteddave 8 месяцев назад
Can you help? I can't the hero images from sanity. Its "null" after I console.log
@sIate9
@sIate9 6 месяцев назад
i have the same problem have you found a solution?
@muktarayodeji7257
@muktarayodeji7257 4 месяца назад
Are you still experiencing this issue? you can try referencing the image as a url in your groq query e.g "image": image.asset -> url or you can access the first image url if you set it as an array in sanity e.g "image": image.asset[0].url
@piyushshrestha3651
@piyushshrestha3651 7 месяцев назад
Is it practically applicable
@ahmedrafi7463
@ahmedrafi7463 5 месяцев назад
How will the owner of the e-commerce website knows what all order has been made and who did it?
@janmarshalcoding
@janmarshalcoding 5 месяцев назад
Stripe Dashboard
@ahmedrafi7463
@ahmedrafi7463 5 месяцев назад
@@janmarshalcodingokay great, but I cannot get the user delivery address, how can I have that
@nested9301
@nested9301 2 месяца назад
is sanity scalable for a e-commerce app?
@janmarshalcoding
@janmarshalcoding 2 месяца назад
Absolutely
@victoriousinsight
@victoriousinsight Год назад
Thank you
@umersiddiqui4530
@umersiddiqui4530 10 месяцев назад
Can you make an e-commerce applications using next js 14 and mongodb
@janmarshalcoding
@janmarshalcoding 10 месяцев назад
I dont like MongoDB
@luiscarlosdelorenzicantero7379
@luiscarlosdelorenzicantero7379 10 месяцев назад
how do you do yo make your build so fast when you type 'npm run dev' without taking so an eternity to compile???
@janmarshalcoding
@janmarshalcoding 10 месяцев назад
The power of video edits... 😂. But yeah, the dev startup can take a few secs
@Lokaoxisde1
@Lokaoxisde1 11 месяцев назад
I'm getting this error on my lib/sanity.ts file: Value of type 'typeof ImageUrlBuilder' is not callable. Did you mean to include 'new'?ts(2348), the line is const builder = ImageUrlBuilder(client); can someone help me?
@loveoner
@loveoner 11 месяцев назад
You are importing the type, you need to import the function with lowercase imageUrlBuilder
@barmejtech
@barmejtech 10 месяцев назад
use this code. it will fix your mentioned issue. ========================================= import imageUrlBuilder from '@sanity/image-url' const builder = imageUrlBuilder(client)
@abodfta6159
@abodfta6159 9 месяцев назад
how to get dynamic product id from stripe?
@nomxxn
@nomxxn 11 месяцев назад
how do you create the logic for the see all? how come you didnt go through it?
@nomxxn
@nomxxn 11 месяцев назад
nvm I got it to work
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
✅🚀
@nomxxn
@nomxxn 11 месяцев назад
@@janmarshalcoding literally realised we done it twice during the project 😂 love the video mate
@neerajverma9226
@neerajverma9226 Месяц назад
ur vs code theme name?
@ltwoz9
@ltwoz9 11 месяцев назад
1:25:00
@MERCEDES_AMG_F1
@MERCEDES_AMG_F1 8 месяцев назад
How show all iteam in see all can somone help?
@xtreem057
@xtreem057 6 месяцев назад
I am getting this issue : github.com/shadcn-ui/ui/issues/1129 Can you help please?
@lordsonmateleddi5481
@lordsonmateleddi5481 Год назад
I don't know, can sanity work with user authentication tools like auth.js or clerk
@MarosiMate-sq2wm
@MarosiMate-sq2wm Год назад
It works with NextAuth, there's a plugin: npm i next-auth-sanity
@lordsonmateleddi5481
@lordsonmateleddi5481 Год назад
@@MarosiMate-sq2wm alright. will surely check that out ☺
@streamclips011
@streamclips011 11 месяцев назад
51:49
@streamclips011
@streamclips011 11 месяцев назад
Why i can't deploy I follow all steps deploying failed but its working in localhost
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
whats the error?
@streamclips011
@streamclips011 11 месяцев назад
@@janmarshalcoding Type error: Cannot find module '@sanity/vision' or its corresponding type declarations.
@streamclips011
@streamclips011 11 месяцев назад
Error: Command "npm run build" exited with 1
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
You forgot to add the .vercelignore, i talk about it in the vid
@streamclips011
@streamclips011 11 месяцев назад
@@janmarshalcoding i already have it and I put sanity there
@available2574
@available2574 8 месяцев назад
is it responsive?
@janmarshalcoding
@janmarshalcoding 8 месяцев назад
yeah
@thanks_man1268
@thanks_man1268 11 месяцев назад
Is the website responsive on mobile?
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
yeah
@taketwochickens2888
@taketwochickens2888 10 месяцев назад
Really cool, but what's the incentive for developers to build e-commerce websites (or people with no coding experience who want to set up a ecommerce website) when you have sites like Shopify and Squarespace thay have this already?
@janmarshalcoding
@janmarshalcoding 10 месяцев назад
Well, the question is what do you need… Something not all too complex with groundbreaking design, then Shopify and its alternatives are fully ok. I mean, Gymshark scaled with Shopify to a multi Billion Company. But if you want 100% control over your store or can't use Shopify (certain Countries are Sanctioned/Banned), you don't really have a choice but to build the store manually.
@joshuayevu
@joshuayevu 11 месяцев назад
Is this project responsive
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
yeah
@jeanpierreayala5324
@jeanpierreayala5324 11 месяцев назад
vscode theme pleaseeee?!!!
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
Aura Theme
@NateTron99
@NateTron99 11 месяцев назад
at 53:06 u just go back to sanity my sanity wont even open anymore its so Infurating
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
Cd into sanity and run npm run dev
@lastspoil5547
@lastspoil5547 2 месяца назад
your github is down
@janmarshalcoding
@janmarshalcoding 2 месяца назад
Mind trying it out again, because for me everything works
@lastspoil5547
@lastspoil5547 2 месяца назад
The link in the description for your GitHub repository takes me to a 404 page not found. Tried on mobile and desktop. 🖥️
@janmarshalcoding
@janmarshalcoding 2 месяца назад
@@lastspoil5547 ahh yeah i see the problem, changed a few things and therefore the slug is incorrect... This is the link, will update the description: janmarshal.com/courses/next-js-14-e-commerce-website-with-stripe-and-sanity-io-full-stack-tutorial-2023
@lastspoil5547
@lastspoil5547 2 месяца назад
@@janmarshalcodingthank you. Do you think you can make a short video for your channel showing us the proper way to download, install, and run this source for beginners? I don’t understand if source code is the completed code base or more of a starter template for tutorials.
@karacan2469
@karacan2469 11 месяцев назад
it the 8th minutes of video, I find this is another kind of tutorials watching from second monitor and coding in first monitor to show like I am a developer, I think better to try record a video that shows real development life, it is not realistic at all. by the way All my respect to what you are going to do and teach what you can but it's not really the way
@janmarshalcoding
@janmarshalcoding 11 месяцев назад
With all my respect, this is a free tutorial... I understand your concern, but at the end of the day, RU-vid is not my job and i don't get any money from this. Anyway... I think it's great if there is more content on RU-vid, so i highly encourage you to create your own videos, so others can learn. Thanks and good luck
@karacan2469
@karacan2469 11 месяцев назад
@janmarshalcoding Think about it, what you do is respectable, I just said my opinion.
@Jankee187
@Jankee187 10 месяцев назад
are you german?
@janmarshalcoding
@janmarshalcoding 10 месяцев назад
ja...
@andreiamariei655
@andreiamariei655 8 месяцев назад
MAFIA
@shanulhaq1670
@shanulhaq1670 9 месяцев назад
What a great project!! I have created it. Kindly share your Linkedin id then tag it.
Далее
Next.js 15 Breakdown (Everything You Need To Know)
18:10
I get on the horse's nerves 😁 #shorts
00:12
Просмотров 3 млн
UFC 308: Пресс-конференция
35:18
Просмотров 557 тыс.
Are we going back to PHP with fullstack JavaScript?
9:57
Why aren't you using Fastify? Or Koa? Or NestJS?
9:58
How I Create Modern E-Commerce Stores with Next.js
5:28
ShadCN’s Revolutionary New CLI
12:11
Просмотров 53 тыс.
My opinion on Angular 18 & React 19
9:47
Просмотров 61 тыс.
How To Setup Stripe Payments in NextJS 14 Tutorial
19:10
This UI Library is a GAME CHANGER! (Not Lying)
20:48
Просмотров 269 тыс.
22 October 2024(3)
7:40
Просмотров
Sanity Crash Course: Learn The Basics in 20 Minutes!
24:55
I get on the horse's nerves 😁 #shorts
00:12
Просмотров 3 млн