Django REST Framework - Build an API from Scratch

  Рет қаралды 208,131

Caleb Curry

Caleb Curry

Күн бұрын

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

Пікірлер: 201
@codebreakthrough
@codebreakthrough 2 жыл бұрын
(FREE) Early access course notes - calcur.tech/backend-notes Links: Django Crash Course - kzbin.info/www/bejne/e6algoiVos6Fm68 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 жыл бұрын
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!!!
@xmeshu
@xmeshu Жыл бұрын
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!
@chemsel-hakmahouche8371
@chemsel-hakmahouche8371 Жыл бұрын
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.
@keifer7813
@keifer7813 Жыл бұрын
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 KZbin. Never leaves a line of code unexplained. Legend
@cruegger123
@cruegger123 Жыл бұрын
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 ай бұрын
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 ай бұрын
I don’t normally comment on KZbin 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 жыл бұрын
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 Жыл бұрын
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!!
@AliceInBloom
@AliceInBloom 2 жыл бұрын
Such a great video. Well done ! Very useful and concise, right to the point !
@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!
@CaptWindShear
@CaptWindShear Жыл бұрын
Probably the most clear and best sequenced and structured approach on the subject I have seen. Thanks!
@zb2747
@zb2747 2 жыл бұрын
Great brief overview - straight to the point and simple to understand the basics and concepts
@neelshah1943
@neelshah1943 7 ай бұрын
Awesome work Caleb! You made me fear less about learning Python backend development. Journey to fearlessness with Django, RestAPIs, and databases!
@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.
@markcruz3
@markcruz3 4 ай бұрын
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
@user-jt5mc2kr4m
@user-jt5mc2kr4m 2 жыл бұрын
What a great lecture! Thanks a lot again, Caleb!
@MorbidPasta
@MorbidPasta Жыл бұрын
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
@MwaiWired
@MwaiWired 2 жыл бұрын
concise and impressive, direct to point makes easy to understand😊
@wmkc8487
@wmkc8487 Жыл бұрын
All these years I have been running away from this framework haha... I'm glad I found this guy today.
@bigrob1971
@bigrob1971 2 жыл бұрын
Very well presented, not padded out with crap - well done!
@sadullahtanrkulu1970
@sadullahtanrkulu1970 Жыл бұрын
excellent video, simple, clear and detailed explanations(not confusing), now I have an API and API building knowledge, thanks a ton
@amanessa9467
@amanessa9467 Ай бұрын
This is what I've been looking for. Thanks a lot Caleb!
@bassethoundgang2800
@bassethoundgang2800 Жыл бұрын
Great lesson Caleb. I can totally see the potential for using django where I work. Thanks again!
@Aoekin
@Aoekin 2 жыл бұрын
Awesome just watched your api video using the flask app, so glad you have django because that is what I am working on.
@samzojaji8745
@samzojaji8745 Жыл бұрын
Very good, clear, easy to understand for beginners like me. Thanks, Caleb.
@kishanmishra7383
@kishanmishra7383 10 ай бұрын
Short, crisp, concise and amazing.
@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”.
@amarjoshi8583
@amarjoshi8583 Жыл бұрын
Finally…I got the thing I wanted…thank you so much…you made my day..thanks
@bakterio
@bakterio 2 жыл бұрын
Super video Caleb!!! I am looking foward to your new videos.
@patience_paul5277
@patience_paul5277 10 күн бұрын
Best DRF Tutorial so far
@kyawmying224
@kyawmying224 6 ай бұрын
Oh for God Sake,I found the right video with right person to explain me to understand what I am looking.Thank you
@andrewpitta927
@andrewpitta927 Жыл бұрын
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 !!!
@briankimurgor4343
@briankimurgor4343 5 ай бұрын
Man, you teach so well, big up from Kenya
@joseraulmachadofernandez9744
@joseraulmachadofernandez9744 Жыл бұрын
You really have a gift for teaching. Thank you for this great video.
@md.rahatbinomar8582
@md.rahatbinomar8582 6 ай бұрын
This is my first Django_rest_framework project . really I happy to see your teaching approach 💕💕💕💕
@Pumba128
@Pumba128 Жыл бұрын
looking at Caleb's gentle smile from the thumbnail makes my day already better
@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,
@davidjacobs3090
@davidjacobs3090 2 жыл бұрын
Best DRF tutorial i have come across 👏🏽
@elenamikhaylova5086
@elenamikhaylova5086 3 ай бұрын
you are very clear and good at explaining somethign fairly complicated. great video, helped alot. thanks
@yhasmanivaldes6217
@yhasmanivaldes6217 Жыл бұрын
Awesome, great job. Everything well explained
@abdullasogay5758
@abdullasogay5758 2 жыл бұрын
Keep it coming Caleb!!
@themarksmith
@themarksmith 2 жыл бұрын
Love this style of video - thanks!
@stephmukami3817
@stephmukami3817 Жыл бұрын
comprehensive and well presented..best video by far
@AnmolWanderer
@AnmolWanderer Жыл бұрын
Thanks a lot man ! Learned a lot . Just hope I clear this interview !
@Mogwai88
@Mogwai88 2 жыл бұрын
This was very useful, thanks alot Caleb!
@haseebyaseen4955
@haseebyaseen4955 2 жыл бұрын
Thanks for such an amazing and to-the-point video.
@info662
@info662 2 жыл бұрын
Awesome tutorial. Subscribed by the way!
@poovarasan1292
@poovarasan1292 Жыл бұрын
Thank You So Much Sir🤝. Very very useful Content Perfect To understand django & rest framework you coverd all workflow in django
@AnyanwuChimebuka
@AnyanwuChimebuka 11 ай бұрын
This is one of the best tutorial on DRF
@rampun5788
@rampun5788 Жыл бұрын
Thanks alot for this AWESOME video! I am learning Python and it helped a lot
@russelpeter2814
@russelpeter2814 Жыл бұрын
Thanks Caleb, straight to the point.
@elielzinsou89
@elielzinsou89 2 жыл бұрын
Amazing, your way to teach is great.
@ThubaMamba
@ThubaMamba 2 жыл бұрын
This was a very informative video. Thanks man.
@user-rk3pp6ec1u
@user-rk3pp6ec1u Жыл бұрын
Caleb, thank you so much for this tutorial!
@gabrielazambrano1552
@gabrielazambrano1552 8 ай бұрын
Thank so much for this video Caleb!!
@durgeshkshirsagar116
@durgeshkshirsagar116 9 ай бұрын
Thanks man. Great explanation with example.
@loc5706
@loc5706 Жыл бұрын
Wow! 40 solid gold minutes🙏
@kels-nz9if
@kels-nz9if 15 күн бұрын
Thank you so much Caleb, GOD BLESS YOU 🙏
@brindanodem9234
@brindanodem9234 Жыл бұрын
Merci beaucoup ... Vous avez expliqué d'une très bonne manière
@mohammadaliirandoust9649
@mohammadaliirandoust9649 Жыл бұрын
thanks, this video enlightened me about what is REST about.
@Will2code
@Will2code 2 жыл бұрын
Great tutorial. Thanks for the hard work
@sowjanyashetty4643
@sowjanyashetty4643 17 күн бұрын
thank you , this was really helpful.
@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!!
@julianm080808
@julianm080808 8 ай бұрын
Caled thanks for your awesome video, please keep it up God bless you.
@IsmailDX
@IsmailDX 9 ай бұрын
Thank you Caleb for this Amazing tutorial!
@climbeverest
@climbeverest Жыл бұрын
good job man, i needed something shorter than 7 hours, actually max 2 hrs to get started fast with django.
@roppique
@roppique 2 жыл бұрын
Thank you very much. I learned a lot with this lesson :)
@charlesmaina8946
@charlesmaina8946 Жыл бұрын
Well done engineer..Great great tutorial
@GaganDeepSinghMusic
@GaganDeepSinghMusic 2 жыл бұрын
It was helpful, thanks for sharing!
@saibhargavkarna6365
@saibhargavkarna6365 7 ай бұрын
Wow sir, this is simply superb...
@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 !
@elvissibetyu7228
@elvissibetyu7228 Жыл бұрын
Thanks man, learnt a lot
@zaheerbeg4810
@zaheerbeg4810 Жыл бұрын
Thanks celeb, you are adorable, precise and perfect explanation , Thanks again
@hiboktalampak1473
@hiboktalampak1473 2 жыл бұрын
sir, do you have a tutorial on how to properly plan on creating a project application? like i get the planning phase but how is it actually done, let say for example, im gonna create a point of sale system, or an e commerce store system. i dont know where to begin.
@houdamda2434
@houdamda2434 2 жыл бұрын
thank you so much that saved me so much time !
@elenaperez6327
@elenaperez6327 2 жыл бұрын
Thanks for the tutorial, I learn a lot! Can I ask you, what would be the best way to go about making an API that stores images. For example a Cat API that stores the different cat breeds so you can use a certain breed as an endpoint to get a photo (or two) of that cat breed? I mean the best way to store photos of these cat breeds. Thanks for your help 😀
@suryamachani2417
@suryamachani2417 4 ай бұрын
Great Course !
@skandertellili4418
@skandertellili4418 2 жыл бұрын
Thank you for this course, i just wanna ask you why did open another terminal tab to apply migrations ?
@Adepentane
@Adepentane Жыл бұрын
Great Lessons, thanks for this, but a quick question please. What about you building an application with other apps like (Drinks, Foods, Fruits), and you have to create multiple apps for them to manage their models separately.
@ermtly
@ermtly 2 жыл бұрын
thanks man I have learned a ton :)
@jonibek3320
@jonibek3320 2 жыл бұрын
Hi Caleb What about authorization in postman, and security token? Could you show please this part also?
@codelearnacademy4314
@codelearnacademy4314 2 жыл бұрын
Hi Caleb, you're an extra ordinary tutor. I have benefited immensely from your videos. But, you might want to magnify your screen a bit to make your code more visible. Thank you
@itcommunications2057
@itcommunications2057 Жыл бұрын
This helped a lot...Thank You
@abdelkebirachraf9473
@abdelkebirachraf9473 7 ай бұрын
Such a great video
@gclandres
@gclandres 2 жыл бұрын
Amazing tutorial!
@jashanpreetsingh2443
@jashanpreetsingh2443 2 жыл бұрын
Thx a lot bruh . Love from India
@ProfesorCafe
@ProfesorCafe 2 жыл бұрын
Is like getting CS classes from Michael Cera. Man it feels good to learn this way.
@ofranc6204
@ofranc6204 Жыл бұрын
Thanks, this is a great tutorial.
@ZannaCrumpet
@ZannaCrumpet 2 жыл бұрын
thanks so much for this video!
@yousifahmed257
@yousifahmed257 Жыл бұрын
awesome it's the great brief overview
@oybekmd
@oybekmd Жыл бұрын
Thank you bro you helped me a lot
@devlanderjs
@devlanderjs 24 күн бұрын
So useful!
@abo-khaled1440
@abo-khaled1440 Жыл бұрын
Great Like, you are a hero. thank you so much.
@alananalyst7795
@alananalyst7795 10 ай бұрын
that is easy to follow good tutorial 👍
@deepali2157
@deepali2157 2 жыл бұрын
Perfect!! Thanks a ton
@arek6296
@arek6296 Жыл бұрын
All neccessery konwledge to run your api application. Very informative, thanks !
@mbtechbites
@mbtechbites 2 жыл бұрын
I got that same shirt! LOL thanks for the tutorial
Build a Python NoSQL API in 28 Minutes! (Django Rest Framework)
28:45
REST API Crash Course - Introduction + Full Python API Tutorial
51:57
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 55 МЛН
Cat Corn?! 🙀 #cat #cute #catlover
00:54
Stocat
Рет қаралды 15 МЛН
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 103 МЛН
How To Make a Django REST API - Full Tutorial & Deployment
40:18
Tech With Tim
Рет қаралды 64 М.
Authentication & Refreshing Tokens Implementation
2:09:53
Dennis Ivy
Рет қаралды 227 М.
Django Crash Course - Introduction + Python Web Development Tutorial
1:08:13
Django Rest Framework for Beginners - Simple CRUD API
14:22
John Watson Rooney
Рет қаралды 47 М.
What are Django class based views & should you use them?
36:19
Dennis Ivy
Рет қаралды 79 М.
Python REST API Tutorial - Building a Flask REST API
1:14:01
Tech With Tim
Рет қаралды 754 М.
Python Django Tutorial for Beginners
1:02:36
Programming with Mosh
Рет қаралды 2,5 МЛН
НЕ ПОКУПАЙ СМАРТФОН, ПОКА НЕ УЗНАЕШЬ ЭТО! Не ошибись с выбором…
15:23
Телефон-електрошокер
0:43
RICARDO 2.0
Рет қаралды 1,3 МЛН
ГОСЗАКУПОЧНЫЙ ПК за 10 тысяч рублей
36:28
Ремонтяш
Рет қаралды 483 М.
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,8 МЛН
😱Хакер взломал зашифрованный ноутбук.
0:54
Последний Оплот Безопасности
Рет қаралды 934 М.