Тёмный

How To Make a Django REST API - Full Tutorial & Deployment 

Tech With Tim
Подписаться 1,5 млн
Просмотров 50 тыс.
50% 1

In this video, I'll teach you how to make a Django API using Python & the Django REST framework. This API will be able create, read, & delete data. At the end of this video, I'll even show you how to deploy this API to a public URL.
Try Acorn Today! acorn.io/auth/login?...
If you want to land a developer job: techwithtim.net/dev
🎞 Video Resources 🎞
Test out the API: acorn.io/run/index.docker.io/...
Code in this video: github.com/techwithtim/django...
How to Install Acorn: docs.acorn.io/install
Learn more about Acorn: • The EASIEST Way To Dep...
⏳ Timestamps ⏳
00:00 | Introduction
01:00 | Installation/Setup
02:18 | Creating A Django Project
04:43 | Defining The Models
07:07 | Defining The Serializer
09:05 | Creating Views
11:36 | Defining The URLs
15:26 | Database Migrations
18:10 | Creating More Complex Views
23:02 | Creating Custom Views
24:53 | Deploying The API
35:32 | Sharing The Deployment
Hashtags
#api #programming #techwithtim #django

Опубликовано:

 

10 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 52   
@codingpandas
@codingpandas 3 месяца назад
Idk if its just me or everybody loves the deployment part of writing a web application, honestly its just so fun learning to deploy on new platforms... Thanks Tim
@user-tv7ji4vn7h
@user-tv7ji4vn7h День назад
I don't usually comment but I am so grateful for these tutorials. A year ago I learned Django from your Django tutorial video and was able to make a geoguessr clone and deploy it. Now I'm learning how to make an API and of course I came back to your excellent videos. Thanks so much Tim.
@kk-gx8ri
@kk-gx8ri 3 месяца назад
Tim, I never comment on youtube videos but the quality of your Django tutorial was insane. I've watched several hours of Django Rest Framework tutorials but none of them have explained Django Rest Framework as well as you did in 20minutes. I hope you eventually create a proper full length tutorial on this in the future. I will be the first to watch! Thank you for this tutorial!
@TechWithTim
@TechWithTim 3 месяца назад
Thanks so much for the comment!
@rolandonunez1893
@rolandonunez1893 3 месяца назад
Great! just looking for this kind of material... hope you could continue the series covering the rest of features that rest framework offers!
@naumtinga
@naumtinga 6 дней назад
man thanks for the tutorial, im learning Django DRF, full beginner but your tutorial is being really helpful
@DEVOPSJUNCTION-pt1sc
@DEVOPSJUNCTION-pt1sc 2 месяца назад
Thanks Tim for this, you are stright to the point. Good job.... You made my a better developer.
@updateserver
@updateserver 2 месяца назад
Your "9 HOURS of Python Projects" video is gluing all the essential concepts/fundamentals of Python for me. I hope to see more real-world applications built with Python shortly! 😄
@marcosalazar6075
@marcosalazar6075 27 дней назад
Hi Tim, i have troubles following the last steps, because i cant make an acorn account.
@mulugetabelay834
@mulugetabelay834 3 месяца назад
it's a great tutorial, tim!
@berganauta9893
@berganauta9893 Месяц назад
Tks Tim, but i cant get the deploy because the acorn's site just send the 1016 Error and don't let me to do the login, do u know how to fix it ?
@sadiqkhawaja7019
@sadiqkhawaja7019 3 месяца назад
Hi Tim, great video as usual, I was hoping if you could make a video on how to deal with opensource projects, I find it very difficult to go through them, going through a repo can be quite tough.
@tim_kenar4600
@tim_kenar4600 29 дней назад
Thank You, very Insightful
@user-ie9jp3tk9q
@user-ie9jp3tk9q Месяц назад
Absolutely amazing
@dijei_fullfine
@dijei_fullfine 3 месяца назад
Hey Tim, I love your videos, the last one about algorithms and data structures is so inspiring. But talking about python and web proyects, it would be really cool if you can show how to deploy a serverless web server and how to deal with cache in backend and frontend
@TechWithTim
@TechWithTim 3 месяца назад
Great suggestion!
@user-ts9ks8in2n
@user-ts9ks8in2n 3 месяца назад
Thanks Tim.
@murshid956
@murshid956 3 месяца назад
Please can you do a complete small project which uses all the DRF methods
@jthepj108
@jthepj108 3 месяца назад
Hey Tim, could this be used to say, post image data to a CNN and receive Output as JSON data?
@abdelkaioumbouaicha
@abdelkaioumbouaicha 3 месяца назад
📝 Summary of Key Points: 📌 The video demonstrates how to create a Django API using Python and the Django Rest framework. It covers setting up the necessary packages, creating models, serializers, views, and URLs for the API. 🧐 Deployment using ACORN is showcased, allowing for easy sharing and deployment of the API to a public URL. The process involves creating a Docker file, an ACORN file, building and pushing the ACORN image to a registry, and deploying the application using ACORN. 💡 Additional Insights and Observations: 💬 Quotable Moments: "ACORN allows for easy sharing and deployment of applications without interfering with the original code." 📊 Data and Statistics: The video emphasizes the convenience and flexibility of using ACORN for deployment, making it simple to share applications with others. 🌐 References and Sources: The video provides detailed steps on setting up a Django API, deploying it using ACORN, and sharing the deployment link with others. 📣 Concluding Remarks: The video offers a comprehensive guide on creating and deploying a Django API using Python and the Django Rest framework. ACORN simplifies the deployment process, enabling easy sharing and testing of applications without the need for complex server setups. This approach enhances collaboration and facilitates efficient application deployment. Generated using TalkBud
@bikotracks9773
@bikotracks9773 2 месяца назад
hi tim, something really off-topic, what keyboard do you use? sounds really appropiate for a programmer. nothing to mention on the tutorial except the best.
@maxjohnson7623
@maxjohnson7623 12 дней назад
Thanks a lot, Tim! I have a problem though, when I run the command "acorn login" it's going to the error page. What can I do? Or did acorn stop its host services?
@YannAriell
@YannAriell 3 месяца назад
Great, I was wondering how with a Django rest framework backend I can integrate stripe for payments, for an e-commerce site for example
@vidhyasagargslv1766
@vidhyasagargslv1766 3 месяца назад
which is better to use genetic views or viewsets??
@renealbrechtsen9743
@renealbrechtsen9743 3 месяца назад
How would you use something like a mysql database or mongo db with this ?
@renzxstech1761
@renzxstech1761 2 месяца назад
Wow, Django is actually pretty fast compared in NodeJS
@spacecoder0526
@spacecoder0526 3 месяца назад
@TechWithTim Could you make React/NextJS+Fast API+deployment tutorial? Also, do you have a reason to choose Django over Fast API?
@alexdin1565
@alexdin1565 3 месяца назад
can you add authentication using django all auth to rest ?
@SkyhighNiD
@SkyhighNiD 3 месяца назад
Can u pls make a video on playwright like u made for selenium.
@nasirgaayte2695
@nasirgaayte2695 3 месяца назад
thanks for all i just hope the u make a model have image field and how to post on that image using postman of other app , so we learn how to us the api in other app get,post ,update ,..... thanks aging 🤩
@user-ic2re4nx8w
@user-ic2re4nx8w 2 месяца назад
the acron extension is not showing in my vs code ?
@sorenchannel42
@sorenchannel42 Месяц назад
Then the database will be cleared every time you redeploy the app?
@dennisdegraphicsdynamo_999
@dennisdegraphicsdynamo_999 Месяц назад
I want to use the fingerprint sensor to connect my my api.
@dennisdegraphicsdynamo_999
@dennisdegraphicsdynamo_999 Месяц назад
scoop: The term 'scoop' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again
@marcosalazar6075
@marcosalazar6075 27 дней назад
you need to install "scoop". Just need to follow the instruction (copy the command line) and a 5.1 version of PowerShell, if you are doing this on Windows
@arjunganti2688
@arjunganti2688 2 месяца назад
python3 also works on windows
@foterloter523
@foterloter523 3 месяца назад
First
@indramaulana4298
@indramaulana4298 Месяц назад
acorn loginnya tidak bisa
@Alex-lf6vm
@Alex-lf6vm 8 дней назад
i have acorn login problem
@Just_A_Tech.._
@Just_A_Tech.._ 3 месяца назад
🤝💓
@alial-nuaimi2695
@alial-nuaimi2695 3 месяца назад
we don't want basic things, we want TDD and we want something complicated like social media DRF
@vishnshiv7349
@vishnshiv7349 3 месяца назад
I know how you are making this tutorial, I already created a similar sample project.
@HSGG_
@HSGG_ Месяц назад
The whole purpose of building API is to use with other services though..
@dennisdegraphicsdynamo_999
@dennisdegraphicsdynamo_999 3 месяца назад
What is the importance of an API
@c00per_
@c00per_ 3 месяца назад
Everything
@dennisdegraphicsdynamo_999
@dennisdegraphicsdynamo_999 3 месяца назад
@@c00per_ How
@nehat786
@nehat786 3 месяца назад
No brother no one use django now please fastapi
@moisesmoisesserranocv7261
@moisesmoisesserranocv7261 2 месяца назад
Hi Tim, @TechWithTim. At the moment to do acorn login i got this message: Error 1016 Ray ID: 86ea992abe918449 • 2024-04-03 16:57:33 UTC Origin DNS error and nobody explain in the web what is the problem. where is the part related to DNS in your code? thanks in advance.
@chaksangwoo5382
@chaksangwoo5382 2 месяца назад
I got the same issue
@marcosalazar6075
@marcosalazar6075 27 дней назад
the same issue
Далее
#kikakim
00:11
Просмотров 1,2 млн
How programmers flex on each other
6:20
Просмотров 2,2 млн
Django-Ninja APIs - Modern API Development in Django
43:40
10 Math Concepts for Programmers
9:32
Просмотров 1,7 млн
Django REST Framework - Build an API from Scratch
40:39
FastAPI, Flask or Django - Which Should You Use?
9:49