hello Alireza, thanks for your interest The complete course has 54 lessons including admin dashboard, review products, deploy on render and much more here: https://basir.thinkific.com/courses/build-ecommerce-website-like-amazon-by-mern-stack...
View Questionfirst of all check console for any errors. if any then share it here. if there is no error it means product.name is empty. check its value using console.log
View QuestionThe difference lies in the syntax of the export statement. While rfce places it explicitly at the end, rafce integrates it directly within the arrow function. Both serve the same purpose—creating functional...
View Questionit is because of nextauth update. follow this answer to fix the issue: https://codingwithbasir.com/question/7890
View Questionput / before signin like this: navigate('/signin?redirect=/shipping'); it should be /signin not /cart/signin
View QuestionThe issue is because of some updates on next and nextauth package. How to fix it: Install next canary or wait for [email protected] to fix the issue https://github.com/vercel/next.js/pull/61721 $ npm i [email protected]...
View QuestionEdge Middleware runs on the Edge Runtime, a runtime built on top of the V8 JavaScript engine. The Edge Runtime provides a subset of Web APIs for you to use when creating Middleware. This lightweight API...
View Questionadd isAdmin as property to User type here: https://github.com/basir/next-amazona-v2/blob/main/types/next-auth.d.ts#L7
View QuestionI am updating this course and will add new features there. will inform you on my youtube channel.
View Questioncheck the db to see if you have user with that email and pass there. use postman to send api request to the signin api and see what you get there. share the repo to take a look.
View Question