Django REST Framework - Build an API from Scratch

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ค. 2024
  • Start your software dev career - calcur.tech/dev-fundamentals 💯 FREE Courses (100+ hours) - calcur.tech/all-in-ones
    🐍 Python Course - calcur.tech/python-courses
    Timestamps:
    00:00 - Introduction
    02:05 - Create a virtual environment
    03:38 - Install packages
    04:01 - Create our Django project
    05:36 - Apply migrations
    06:31 - Intro to admin site
    07:31 - Create our model
    08:50 - Create our own migration
    12:37 - Start REST framework
    13:43 - Create our serializer
    14:53 - Create our view endpoints
    18:57 - CRUD
    22:28 - POST request
    27:17 - Drink details - GET
    32:50 - Drink details - PUT
    34:22 - Drink details - DELETE
    36:25 - Getting JSON through browser
    37:59 - Consuming the API
    ✅ Data Structures & Algorithms - calcur.tech/dsa-youtube
    ~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
    ✉️ Newsletter - calcur.tech/newsletter
    📸 Instagram - / calebcurry
    🐦 Twitter - / calebcurry
    🔗 LinkedIn - / calebcurry
    ▶️ Subscribe - calcur.tech/subscribe
    👨🏻‍🎓 Courses - www.codebreakthrough.com
    ~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
    ↪ My Amazon Store - www.amazon.com/shop/calebcurry
    🅿 Patreon - calcur.tech/patreon-calebcurry
    🅖 GitHub Sponsors - github.com/sponsors/CalebCurry
    Ⓟ Paypal - paypal.me/calcur
    #python #django
    🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
    🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
    📈 Buy Bitcoin - calcur.tech/crypto
    Reserve the Ruby Steel crypto rewards card and get a $25 bonus (use affiliate code "Caleb") - calcur.tech/crypto
    #python #django #webdevelopment
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 202

  • @codebreakthrough
    @codebreakthrough  2 ปีที่แล้ว +15

    (FREE) Early access course notes - calcur.tech/backend-notes
    Links:
    Django Crash Course - th-cam.com/video/EuBQU_miReM/w-d-xo.html
    github.com/CalebCurry/django-api

    • @jangrobler1208
      @jangrobler1208 ปีที่แล้ว

      Hello Caleb,what advice do you have 38 year olds who want to start learn coding from scratch,say Java?

    • @ameyapotdar461
      @ameyapotdar461 ปีที่แล้ว

      Hi Caleb can you make a video on how to filter products using django and ajax?

    • @Tom_Tech_314
      @Tom_Tech_314 ปีที่แล้ว

      @@jangrobler1208 What??

    • @sose43
      @sose43 ปีที่แล้ว

      Hello you did a Short video in which 0you declared an end to coding. what message are you trying to pass to us wanting to reach your coding skills

  • @prasannasundaram9158
    @prasannasundaram9158 2 ปีที่แล้ว +16

    Thanks Caleb. You untangle complex subjects, demystify them and present it in a way that puts your audience at ease and bring them back for more content. Your unassuming and friendly persona adds to the joy of learning. Vamos, my bro!!!

  • @chemsel-hakmahouche8371
    @chemsel-hakmahouche8371 ปีที่แล้ว +10

    Always wondered what api's were and here i get the confirmation i was expecting. Thank you for making it crystal clear as you always do. You're the best teacher i could ever have.

  • @xmeshu
    @xmeshu ปีที่แล้ว +15

    This is exactly what I needed for my uni project. Straight to the point, through the basics. Amazing introduction after which I can really understand the framework. Big thumbs up Caleb!

  • @keifer7813
    @keifer7813 ปีที่แล้ว +3

    Just started learning Django and now I'm getting familiar with DRF. I say this with no exaggeration - you are one of, if not, the best instructors on TH-cam. Never leaves a line of code unexplained. Legend

  • @cruegger123
    @cruegger123 ปีที่แล้ว +1

    Caleb, I just watched this video and it's amazing. I learned more watching this video than I have by googling and reading about Django REST applications for the past week. You are a highly skilled and gifted teacher. In my experience, good knowledge transfer skills are rare. You know how to present information in a clear, step-by-step manner with a friendly, unassuming style. Great job!

  • @syphon22
    @syphon22 10 หลายเดือนก่อน +1

    This is by far the BEST video explaining DRF API's on the internet.
    I have been learning Django the last month or so and this video makes everything CLICK!
    Thank you for all your hard work creating this content!!

  • @TrendzNoww
    @TrendzNoww 4 หลายเดือนก่อน +5

    I don’t normally comment on TH-cam videos but trust me you are a true Gem and you have made my Research portfolio Journey to be a success already … the backend is really the core of your application thanks so much … would really love to interact ❤❤

  • @janderoyalty1030
    @janderoyalty1030 2 ปีที่แล้ว +2

    I've learned more in the first 30 minutes of this video than all my Googling yesterday. Hope the last 11 minutes are just as good. Thanks for this!

  • @jerryb707
    @jerryb707 ปีที่แล้ว +1

    Thank you so much for thos course, Caleb! I am coming from a flask and fastAPI background and I needed to learn the django rest framework for a prospective job and this has been an amazing introduction. Aside the fact that I think django comes with too much boilerplate code, I think its worth learning. Your video was very easy to understand and I can't wait to check out your other videos too. you're amazing!!

  • @MorbidPasta
    @MorbidPasta ปีที่แล้ว +8

    I started my summer quitting my job at a dead-end dev job. Started re-familiarizing myself with c++ for fun using your videos, then helped myself with some DS&A with your videos. And now I'm looping back around to REST APIs which I was previously writing at my old job, with new knowledge... and find that you've got these videos too. You've had my full attention this summer lol

  • @CaptWindShear
    @CaptWindShear ปีที่แล้ว

    Probably the most clear and best sequenced and structured approach on the subject I have seen. Thanks!

  • @frontendmechanix
    @frontendmechanix 7 หลายเดือนก่อน

    My new job required extensive use of Django REST and I never used Django throughout my career.
    This is the perfect tutorial. You just created a masterpiece. Phenomenal!

  • @AliceInBloom
    @AliceInBloom 2 ปีที่แล้ว +7

    Such a great video. Well done ! Very useful and concise, right to the point !

  • @zb2747
    @zb2747 2 ปีที่แล้ว +2

    Great brief overview - straight to the point and simple to understand the basics and concepts

  • @neelshah1943
    @neelshah1943 7 หลายเดือนก่อน +1

    Awesome work Caleb! You made me fear less about learning Python backend development. Journey to fearlessness with Django, RestAPIs, and databases!

  • @markcruz3
    @markcruz3 4 หลายเดือนก่อน +1

    I started watching this video yesterday and I must say that this is the only video beginners need. I just don't know what others are doing

  • @leratoblos6728
    @leratoblos6728 2 ปีที่แล้ว

    Caleb. from South Africa, I am forever thankful. I started with C++ while in University. I have learned a lot from you.

  • @wmkc8487
    @wmkc8487 ปีที่แล้ว

    All these years I have been running away from this framework haha... I'm glad I found this guy today.

  • @user-jt5mc2kr4m
    @user-jt5mc2kr4m 2 ปีที่แล้ว +5

    What a great lecture! Thanks a lot again, Caleb!

  • @MwaiWired
    @MwaiWired 2 ปีที่แล้ว +5

    concise and impressive, direct to point makes easy to understand😊

  • @bigrob1971
    @bigrob1971 2 ปีที่แล้ว +3

    Very well presented, not padded out with crap - well done!

  • @kishanmishra7383
    @kishanmishra7383 10 หลายเดือนก่อน

    Short, crisp, concise and amazing.

  • @amanessa9467
    @amanessa9467 หลายเดือนก่อน

    This is what I've been looking for. Thanks a lot Caleb!

  • @sadullahtanrkulu1970
    @sadullahtanrkulu1970 ปีที่แล้ว

    excellent video, simple, clear and detailed explanations(not confusing), now I have an API and API building knowledge, thanks a ton

  • @bassethoundgang2800
    @bassethoundgang2800 ปีที่แล้ว

    Great lesson Caleb. I can totally see the potential for using django where I work. Thanks again!

  • @bakterio
    @bakterio 2 ปีที่แล้ว

    Super video Caleb!!! I am looking foward to your new videos.

  • @samzojaji8745
    @samzojaji8745 ปีที่แล้ว

    Very good, clear, easy to understand for beginners like me. Thanks, Caleb.

  • @Pumba128
    @Pumba128 ปีที่แล้ว

    looking at Caleb's gentle smile from the thumbnail makes my day already better

  • @abdullasogay5758
    @abdullasogay5758 2 ปีที่แล้ว

    Keep it coming Caleb!!

  • @HeisenbergHK
    @HeisenbergHK 4 หลายเดือนก่อน

    This was amazing, thank you for this tutorial.
    The thing that i loved was that this tutorial thought me the stuff I really needed not “extra useless information”.

  • @briankimurgor4343
    @briankimurgor4343 5 หลายเดือนก่อน

    Man, you teach so well, big up from Kenya

  • @kyawmying224
    @kyawmying224 7 หลายเดือนก่อน +1

    Oh for God Sake,I found the right video with right person to explain me to understand what I am looking.Thank you

  • @amarjoshi8583
    @amarjoshi8583 ปีที่แล้ว +1

    Finally…I got the thing I wanted…thank you so much…you made my day..thanks

  • @yhasmanivaldes6217
    @yhasmanivaldes6217 ปีที่แล้ว

    Awesome, great job. Everything well explained

  • @themarksmith
    @themarksmith 2 ปีที่แล้ว

    Love this style of video - thanks!

  • @Aoekin
    @Aoekin 2 ปีที่แล้ว +1

    Awesome just watched your api video using the flask app, so glad you have django because that is what I am working on.

  • @patience_paul5277
    @patience_paul5277 16 วันที่ผ่านมา

    Best DRF Tutorial so far

  • @haseebyaseen4955
    @haseebyaseen4955 2 ปีที่แล้ว

    Thanks for such an amazing and to-the-point video.

  • @davidjacobs3090
    @davidjacobs3090 2 ปีที่แล้ว

    Best DRF tutorial i have come across 👏🏽

  • @md.rahatbinomar8582
    @md.rahatbinomar8582 6 หลายเดือนก่อน

    This is my first Django_rest_framework project . really I happy to see your teaching approach 💕💕💕💕

  • @Mogwai88
    @Mogwai88 2 ปีที่แล้ว

    This was very useful, thanks alot Caleb!

  • @joseraulmachadofernandez9744
    @joseraulmachadofernandez9744 2 ปีที่แล้ว +1

    You really have a gift for teaching. Thank you for this great video.

  • @russelpeter2814
    @russelpeter2814 ปีที่แล้ว

    Thanks Caleb, straight to the point.

  • @stephmukami3817
    @stephmukami3817 ปีที่แล้ว

    comprehensive and well presented..best video by far

  • @info662
    @info662 2 ปีที่แล้ว

    Awesome tutorial. Subscribed by the way!

  • @AnyanwuChimebuka
    @AnyanwuChimebuka ปีที่แล้ว +1

    This is one of the best tutorial on DRF

  • @loc5706
    @loc5706 ปีที่แล้ว

    Wow! 40 solid gold minutes🙏

  • @elielzinsou89
    @elielzinsou89 2 ปีที่แล้ว

    Amazing, your way to teach is great.

  • @elenamikhaylova5086
    @elenamikhaylova5086 3 หลายเดือนก่อน

    you are very clear and good at explaining somethign fairly complicated. great video, helped alot. thanks

  • @gabrielazambrano1552
    @gabrielazambrano1552 8 หลายเดือนก่อน

    Thank so much for this video Caleb!!

  • @AnmolWanderer
    @AnmolWanderer ปีที่แล้ว +1

    Thanks a lot man ! Learned a lot . Just hope I clear this interview !

  • @rampun5788
    @rampun5788 ปีที่แล้ว

    Thanks alot for this AWESOME video! I am learning Python and it helped a lot

  • @durgeshkshirsagar116
    @durgeshkshirsagar116 9 หลายเดือนก่อน

    Thanks man. Great explanation with example.

  • @user-rk3pp6ec1u
    @user-rk3pp6ec1u ปีที่แล้ว

    Caleb, thank you so much for this tutorial!

  • @ThubaMamba
    @ThubaMamba 2 ปีที่แล้ว

    This was a very informative video. Thanks man.

  • @blessycheriyan5870
    @blessycheriyan5870 ปีที่แล้ว

    Tremendous Experience ,I didn't ever seen awesome django videos , Here is the right place & clear crystal concept for Restful api , Thank you for taking much effort for uploading django tutorial, Still waiting for more useful concept for Upcoming django tutorial,

  • @mohammadaliirandoust9649
    @mohammadaliirandoust9649 ปีที่แล้ว

    thanks, this video enlightened me about what is REST about.

  • @Will2code
    @Will2code 2 ปีที่แล้ว

    Great tutorial. Thanks for the hard work

  • @kels-nz9if
    @kels-nz9if 21 วันที่ผ่านมา

    Thank you so much Caleb, GOD BLESS YOU 🙏

  • @andrewpitta927
    @andrewpitta927 ปีที่แล้ว +1

    bro bro bro...i really wanna thank you soo much...this helped me a lot..it cleared a lot of confusion .... ihv been going through the documentation but i got struck with some confusion ... this vedio helped me to clear that !!!

  • @charlesmaina8946
    @charlesmaina8946 ปีที่แล้ว

    Well done engineer..Great great tutorial

  • @IsmailDX
    @IsmailDX 9 หลายเดือนก่อน

    Thank you Caleb for this Amazing tutorial!

  • @saibhargavkarna6365
    @saibhargavkarna6365 7 หลายเดือนก่อน

    Wow sir, this is simply superb...

  • @roppique
    @roppique 2 ปีที่แล้ว

    Thank you very much. I learned a lot with this lesson :)

  • @elvissibetyu7228
    @elvissibetyu7228 ปีที่แล้ว

    Thanks man, learnt a lot

  • @brindanodem9234
    @brindanodem9234 ปีที่แล้ว

    Merci beaucoup ... Vous avez expliqué d'une très bonne manière

  • @poovarasan1292
    @poovarasan1292 ปีที่แล้ว

    Thank You So Much Sir🤝.
    Very very useful Content Perfect To understand django & rest framework you coverd all workflow in django

  • @gclandres
    @gclandres 2 ปีที่แล้ว

    Amazing tutorial!

  • @sowjanyashetty4643
    @sowjanyashetty4643 23 วันที่ผ่านมา

    thank you , this was really helpful.

  • @julianm080808
    @julianm080808 8 หลายเดือนก่อน

    Caled thanks for your awesome video, please keep it up God bless you.

  • @climbeverest
    @climbeverest ปีที่แล้ว

    good job man, i needed something shorter than 7 hours, actually max 2 hrs to get started fast with django.

  • @GaganDeepSinghMusic
    @GaganDeepSinghMusic 2 ปีที่แล้ว

    It was helpful, thanks for sharing!

  • @ermtly
    @ermtly 2 ปีที่แล้ว

    thanks man I have learned a ton :)

  • @whatvideo3107
    @whatvideo3107 ปีที่แล้ว

    thank you so much, this is of great benefit for a beginner me. it has helped me understand many things

  • @shubhangibhosale7765
    @shubhangibhosale7765 6 หลายเดือนก่อน

    Thank you Caleb!!

  • @jashanpreetsingh2443
    @jashanpreetsingh2443 2 ปีที่แล้ว

    Thx a lot bruh .
    Love from India

  • @houdamda2434
    @houdamda2434 2 ปีที่แล้ว

    thank you so much that saved me so much time !

  • @itcommunications2057
    @itcommunications2057 ปีที่แล้ว

    This helped a lot...Thank You

  • @suryamachani2417
    @suryamachani2417 4 หลายเดือนก่อน

    Great Course !

  • @mbtechbites
    @mbtechbites 2 ปีที่แล้ว

    I got that same shirt! LOL thanks for the tutorial

  • @deepali2157
    @deepali2157 2 ปีที่แล้ว

    Perfect!! Thanks a ton

  • @ofranc6204
    @ofranc6204 ปีที่แล้ว

    Thanks, this is a great tutorial.

  • @ZannaCrumpet
    @ZannaCrumpet 2 ปีที่แล้ว

    thanks so much for this video!

  • @georgeadrianilie1612
    @georgeadrianilie1612 10 หลายเดือนก่อน

    Hello Caleb !
    I have enjoyed your tutorial and the way you explain things very much and I would like to ask you to make a sequel for creating the explanation of logic with DRF of adding to cart and from cart adding to order and flushing the cart with a limit of one cart for each user at a time.
    Tank you !

  • @yousifahmed257
    @yousifahmed257 ปีที่แล้ว

    awesome it's the great brief overview

  • @zaheerbeg4810
    @zaheerbeg4810 ปีที่แล้ว

    Thanks celeb, you are adorable, precise and perfect explanation , Thanks again

  • @parthokr
    @parthokr 2 ปีที่แล้ว

    Cool!
    Looking forward to DRF w/ authentication.

  • @ProfesorCafe
    @ProfesorCafe 2 ปีที่แล้ว +1

    Is like getting CS classes from Michael Cera. Man it feels good to learn this way.

  • @oybekmd
    @oybekmd ปีที่แล้ว

    Thank you bro you helped me a lot

  • @777arulvasan
    @777arulvasan 10 หลายเดือนก่อน

    Great sessions, thanks

  • @alananalyst7795
    @alananalyst7795 10 หลายเดือนก่อน

    that is easy to follow good tutorial 👍

  • @abdelkebirachraf9473
    @abdelkebirachraf9473 7 หลายเดือนก่อน

    Such a great video

  • @mahadihanif9537
    @mahadihanif9537 ปีที่แล้ว

    Really great video

  • @arek6296
    @arek6296 ปีที่แล้ว

    All neccessery konwledge to run your api application. Very informative, thanks !

  • @devlanderjs
    @devlanderjs หลายเดือนก่อน

    So useful!

  • @yutech2091
    @yutech2091 2 ปีที่แล้ว

    real i have learned a lot from here

  • @griftegrd
    @griftegrd ปีที่แล้ว

    amazing! too good!

  • @HOSSEINSTINSON
    @HOSSEINSTINSON 9 หลายเดือนก่อน

    excellent explained

  • @smallbrownguy
    @smallbrownguy ปีที่แล้ว

    great course!