Learn Vue - Vue and Django API - Preparing a Vue app with axios to consume a Django REST API

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 69

  • @xinzunlee46
    @xinzunlee46 3 года назад +6

    Thank you, the only tutorial I found that actually teaches you how to use django + vue + axios together

  • @zeinebaraar2141
    @zeinebaraar2141 2 года назад +2

    thank u, you are the best you are the only tutorial i found how to connect my backend django with my frontend vue.

  • @SuperFreakyMad
    @SuperFreakyMad 3 года назад +5

    Thank you! This is the best tutorial on Vue+Django I've seen so far.

    • @veryacademy
      @veryacademy  3 года назад +2

      Thanks Serikbol, sorry to hear that there isn't better tutorials out there for you.

  • @elonmusk2142
    @elonmusk2142 4 года назад +6

    I found a gold here .
    Please dont stop
    I ve barely found u.
    And keep making tuts.
    Even just for favor

    • @veryacademy
      @veryacademy  4 года назад +1

      Thank you, wish you all the best in your developments

  • @neeban1339
    @neeban1339 4 года назад +3

    This video deserves more views. Thank you. 👍

    • @veryacademy
      @veryacademy  4 года назад +1

      Thanks Neil, there is another vue django api with ml coming out shortly

  • @kara.m5375
    @kara.m5375 3 года назад

    the best tutorial since i meet to cooperation of vue and django
    thank you

  • @SoloPython
    @SoloPython 3 года назад +2

    you're the best! for real, you've earned the gates to heaven!!!

  • @altafhossain4989
    @altafhossain4989 2 года назад +1

    Thanks easy to follow. Go ahead.

  • @RM-lb7xw
    @RM-lb7xw 3 года назад +2

    Great tutorial. Thank you so much for this.

  • @kgmyatthu3171
    @kgmyatthu3171 3 года назад

    Youre a django angel.

  • @nouchance
    @nouchance 3 года назад

    THE BEST MENTOR !!!!

  • @valentim-aires
    @valentim-aires 4 года назад +2

    Really easy to follow along. Thank you!

    • @veryacademy
      @veryacademy  4 года назад +1

      Thank you, good luck with your developments!

  • @tanitapak4839
    @tanitapak4839 Год назад

    Thank you so much for the great tutorial. Does this work with Vue 3 or I should change actions and code?

  • @MrSobotqa1
    @MrSobotqa1 3 года назад +3

    Great tutorial, keep up the good work! :)

  • @kashishagrawal5318
    @kashishagrawal5318 3 года назад +1

    Good explaination.

    • @veryacademy
      @veryacademy  3 года назад

      Thank you - it is a bit old now, glad it is of some use 👍

  • @luisematos_
    @luisematos_ 2 года назад +1

    Thank you for your time for this tutorial!

  • @bamhm182
    @bamhm182 3 года назад +2

    Great video as always, but I wish there was an easier way to find your next video... (Card, link, description, etc.)
    Keep up the good work!

  • @stevebiko3282
    @stevebiko3282 3 года назад

    Thank you very Academy. Is advice-able to separate the getAPI variable even with fetch()?

  • @roronoazoro5259
    @roronoazoro5259 3 года назад

    This is nice video

  • @srikantachaitanya6561
    @srikantachaitanya6561 3 года назад +1

    Thank you very much dude ....
    you saved me

  • @julianmayr277
    @julianmayr277 3 года назад

    Thank you. Great tutorial!

  • @KrishnaManohar8021
    @KrishnaManohar8021 4 года назад +1

    Thanks u. Now my dream come true😘

    • @veryacademy
      @veryacademy  4 года назад +1

      Most welcome 😊 now to finish the authentication video. Sessions and Cookies will have to be another video.

  • @AcademyOmen
    @AcademyOmen 4 года назад

    Thanks alot... So clear and easy to understand

    • @veryacademy
      @veryacademy  4 года назад

      Thank you Omen!

    • @AcademyOmen
      @AcademyOmen 4 года назад

      How can you host this Django and Vue website on the same server?

  • @SwissPhil02
    @SwissPhil02 6 месяцев назад

    Why do you need to make two apps in django ? apps and drestapi ?

  • @anatolionikiforidis8437
    @anatolionikiforidis8437 4 года назад +1

    Thank you, sir. I wish I could have watched it earlier to save a lot of time. Anyway, could I have your opinion about using Nuxt.js instead of Vue along with the Django configured the same way?

    • @veryacademy
      @veryacademy  4 года назад +4

      Hi Anatólio, my humble opinion is always choose the right tools based upon the project specifications at hand. What youre going to read about Nuxt.js is that it can need a different development mindset than using Vue. Nuxt.js and Vue.js depending on how you implement it handle logic differently. To generalise, Vue is considered as always running on the client side, in comparison to Nuxt which is not, and that might cause problems, again this is situational. A bad example of this - suppose you wanted to select a DOM element just right after the application is loaded, there are some cases where as the application is running on the server side - the Node.js side, there wont be DOM elements in Node.js. #That didn't answer your question. There is still some way to go with Vue, React etc before we start to see cleaner and better methods of integration. Sure its all possible with some work - but again - its all about what you are going to use it for. If you wanted Django just for its API capabilities - well - I take you back to what i first said - you need to think about what you want to use the tech for then choose based on the strengths of each tech. Hope this goes towards answering your question! 👍

    • @anatolionikiforidis8437
      @anatolionikiforidis8437 4 года назад

      veryacademy I m agree about having different development mindset when working with both of the frameworks. Nuxt increased complexity significantly compared with Vue. But on the other hand it handles routing under the hood and simplifies vuex integration I believe. Still I don't get a reason of using Nuxt.js instead of Vue.js. I hope that will come to me with an amount of experience.

  • @codedjango
    @codedjango 4 года назад

    Amazing 👌👌👌....

    • @veryacademy
      @veryacademy  4 года назад +1

      Hi, sorry. After completing the whole app with authentication I thought there was just too much to do in one video. Thought it would be better - at least for my students to have 2 videos for those who are unfamiliar with everything. But - at least I can now tick off your request of consuming an API with with Vue js - Next one Auth with JWT promise!!! Its ready to go - I just need to break it down etc. Thinking about structure of the video and recording the video takes 100 times longer than making the code. Here is the repo you can look over while you wait github.com/veryacademy/YT-Vue-Django-Auth-JWT

    • @codedjango
      @codedjango 4 года назад

      @@veryacademy you got very nice presentation skills and great tutoring skills.....you dont need to say sorry... I dont have enough words to thank you for your efforts 🙏🙏.. please keep making such videos with Django and Vue ...of course at your own convenience... thank you 😊

  • @combustionFreeEngine
    @combustionFreeEngine 4 года назад

    great tutorial!

    • @veryacademy
      @veryacademy  4 года назад

      Thank you Muong! Appreciate you taking your time to comment

  • @dastrixmeister
    @dastrixmeister 4 года назад +1

    top 1

  • @rangabharath4253
    @rangabharath4253 2 года назад

    Hi, I have a request. Please create a tutorial on multiple file upload to folder using Django and vuejs

  • @webdev1943
    @webdev1943 2 года назад

    thanks

  • @kasperskjeggestad5036
    @kasperskjeggestad5036 4 года назад +1

    How would you use the getAPI method for a post request?

    • @veryacademy
      @veryacademy  4 года назад

      Hi Kasper, sorry, its late this might sound stupid. getAPI for a post request? You mean just a get request?

  • @yashwanthbalanagu8942
    @yashwanthbalanagu8942 4 года назад +1

    hey @veryacademy can you make a video on how to integrate multi roles django groups and user permissions using vuejs or any sources , links etc

    • @veryacademy
      @veryacademy  4 года назад +1

      Thank you for the suggestion - I have noted it down. At the moment we are stuck on Rest but when I swing around to Vue/Django I will do this for you

    • @yashwanthbalanagu8942
      @yashwanthbalanagu8942 4 года назад

      @@veryacademy Thanks a lot because on this topic no tutorials are there so if you do it will be boost your channel

  • @aidenstern5254
    @aidenstern5254 4 года назад

    Thank you :)

    • @veryacademy
      @veryacademy  4 года назад

      Thank you! Wish you all the best with your developments!

  • @THEHADIDA
    @THEHADIDA 4 года назад

    Thanks for this. Is part 2 up yet?

    • @veryacademy
      @veryacademy  4 года назад +1

      Joshua, its a bit slow at the moment with Vue I am afraid. I will swing back to Vue at some point.

  • @rajughorai3909
    @rajughorai3909 4 года назад +1

    mine not working error on browser console CORS policy no 'Access-Control-Allow-Origin' header is present on the request resources. i try using django-cors-headers not worked and also added values in return response header didn't work. what should i do.

    • @veryacademy
      @veryacademy  4 года назад +1

      Try this, could be a few issues. Without seeing the code it is hard to tell
      medium.com/@dtkatz/3-ways-to-fix-the-cors-error-and-how-access-control-allow-origin-works-d97d55946d9

    • @rajughorai3909
      @rajughorai3909 4 года назад

      @@veryacademy thanks for the reply. it feels terrible to debug.

    • @veryacademy
      @veryacademy  4 года назад

      Debugging is 10% of the fun 😂 the other 90% of the fun is having someone else do it for you

  • @KrishnaManohar8021
    @KrishnaManohar8021 4 года назад +1

    Create saparate playlist for Django Rest Framework

    • @veryacademy
      @veryacademy  4 года назад

      All done

    • @veryacademy
      @veryacademy  4 года назад +1

      Oh sorry thought you meant timeline playlist - yeah OK I will do no problem

  • @Sahilmidriff
    @Sahilmidriff Год назад

    every thing is copy paste video .. if you make a video make sure you don't copy paste bcz this is actually worked but not impressive 🤟

  • @rangabharath4253
    @rangabharath4253 2 года назад

    Hi, I have a request. Please create a tutorial on multiple file upload to folder using Django and vuejs