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

preview_player
Показать описание
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.

🎞 Video Resources 🎞

⏳ 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
Рекомендации по теме
Комментарии
Автор

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

codingpandas
Автор

📝 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

abdelkaioumbouaicha
Автор

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!

kk-gxri
Автор

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.

tvjivnh
Автор

Great! just looking for this kind of material... hope you could continue the series covering the rest of features that rest framework offers!

rolandonunez
Автор

Hi Tim, just wanted to say thank you very much for this video. After struggling some days with a bunch of tutorials, even paid ones, I found this jewel of a concise, short, straight forward explanation about building a Django Rest API. Thanks again.

wtsaec
Автор

This is one of the best tutorials I've ever watched. Love the way you explain things! Very easy to understand. Great video.

its-cess
Автор

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!
😄

updateserver
Автор

man thanks for the tutorial, im learning Django DRF, full beginner but your tutorial is being really helpful

naumtinga
Автор

I love the way you explained the concept in details. Thanks Tim. ❤

alimihakeem
Автор

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.

sadiqkhawaja
Автор

Thanks Tim for this, you are stright to the point. Good job.... You made my a better developer.

DEVOPSJUNCTION-ptsc
Автор

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

dijei_fullfine
Автор

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 ?

berganauta
Автор

Hi Tim, i have troubles following the last steps, because i cant make an acorn account.

marcosalazar
Автор

Thanks for sharing such informative videos. Very well explained in short time.

ajaykotiyal
Автор

Please can you do a complete small project which uses all the DRF methods

murshid
Автор

hey @Tech with tim it seems like acorn for containerization and orchestration tools is dead now.
can you make tutorial for kubernetes or other tool for this purpose instead?

Ammar-mclp
Автор

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.

bikotracks
Автор

Hey Tim, could this be used to say, post image data to a CNN and receive Output as JSON data?

jthepj