VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
E-commerce Website With Django and Vue Tutorial (Django Rest Framework)

E-commerce Website With Django and Vue Tutorial (Django Rest Framework)

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Learn how to build an e-commerce website using Django and Vue from scratch. Django uses Python Vue uses JavaScript. Django Rest Framework is used to build the API and backend. The frontend is a separate Vue project. To handle the payments, we implement Stripe. -- The course was developed by CodeWithStein. https://www.youtube.com/c/CodeWithStein - CodeWithStein on
Date: 2022-03-14

Comments and reviews: 10


Thank you so much for this! It was really helpful!
I am running into an issue with authentication. The localStorage will not let go of the token and when I click logout, and refresh the home page, it still shows I'm logged in. My guess is something is rewriting the token and is not being reset. I watched the part about initializing the store, creating the login, and creating the account page like 6 times and cant catch where the mistake is.
The browser is not throwing any errors, and all other functionality works fine. I just cant seem to clear the token. Logging out does redirect me to the home page, but the token is still there and shows that the user is logged in. Does anyone know how to get past this?

reply

Hi Everyone I am new to programming I am planning to build a ecommerce website and still searching to select a framwork and language to stick too. I heard from my friends that web development needs to be addressed everyyear or else it will be outdated like that. Just want to make sure which framework can I select so that it can reduce the development cost and I am learning python already. If we follow the same video Will there be a time anywhere in one year that browser can say - Browser not supported to view the content - while accessing webpage with the updated Chrome browser later in future ??
reply

Thank you for the tutorial. I'm having an issue at 1:33:03 with setting up the cart. The error I'm getting is
Uncaught (in promise) TypeError: Cannot use 'in' operator to search for 'path' undefined vue-router.esm-bundler.js?6c02:2878
I went and reviewed all the code and from the Cart.vue and CartItem.Vue and even copied and pasted from Github to make sure I did not have a typo, but am still receiving this message.
Anyone know why this may be the case? Any insight would be great.

reply

Hey guys: In adding search functionality, video timeline 1:27:20: did anyone of you had -Forbidden CSRF cookie not set error-, like normally I know how to solve this issue, but for some reason solution I am applying are not working and plus In video I have tried to find setting csrf token but couldn't see, for some reason everything is working well in video, may be I am making mistake if some can point it out I will really appreciate it. thanks
reply

Really nice course, timing is perfect (less than 3h for the entire fullstack), the content is massive and the final result is a real project! Thanks you so much. I'm doing the code in parrallel, second time i watch this tuto but i think i missed something... i cannot modify the 'vue' files App.vue, index.html, the .json... i can maybe trick this by replacing the files with the ones from your repo but how do you in the video?
reply

Hello stein,
Actually i am facing an issue. I am trying to add multiple products in the cart. But its only adding an item to the cart. Like I added -A- item to cart which is 5$ and after that i added -B- product into the cart.Its still showing only the A product and also the cart is taking A's price. Is there any solution for me ??

reply

You can't really keep up with this tutorial, it feels like this guy is closed in his own world and just copying and pasting all of the stuff and gives like 5 sec to explain everything. Next time you make a tutorial instead of making almost 3h of content make a 5 min one explaining from where you can copy all of your work.
reply

I had some issues with search. I kept getting a 405 error. Fixed it by adding GET to the -api_view decorator. -api_view(['POST', 'GET']). No idea why this worked cause I pretty sure it is a post request, but this solved my issue and now I'm getting good search results.
reply

Hi, your video is very in formative, really enjoyed. Just realized that the product added to cart is not specific to any user account. If i login with a different account i still get the previous added product. How can oi fix this??
reply

Ok i solved the problem. In the store.js you used filter function but if you use find function it will search for the duplicate products. If the function find out a duplicate it will add another new product
reply
Add a review, comment






Other channel videos