Django REST Framework Course - Build Web APIs with Python

Django REST Framework is a powerful and flexible toolkit for building Web APIs. In this course for beginner you will learn how to use Python and the Django REST Framework (DRF) to build a web API.
✏️ Course from Bobby Stearman. Check out ‪@DidCoding‬
💻Code: github.com/bobby-didcoding/dr...
Other Resources:
www.python.org/
www.djangoproject.com/
www.django-rest-framework.org/
httpie.io/
curl.se/
www.docker.com/
⌨️ (0:00:00) Introduction
⌨️ (0:00:29) Module 1: Clone the code and set up our system
⌨️ (0:15:01) Module 2: Add settings and URL configurations
⌨️ (0:25:02) Module 3: Create first API endpoint
⌨️ (0:44:46) Module 4: Write unit tests
⌨️ (0:51:56) Module 5: Create endpoints with authentication
⌨️ (1:01:52) Module 6: Create item and order models and serializers
⌨️ (1:08:54) Module 7: Code viewsets and routers
⌨️ (1:14:30) Module 8: Write final unit tests
🎉 Thanks to our Champion and Sponsor supporters:
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Erdeniz Unvan
👾 Justin Hual
👾 Agustín Kussrow
👾 Otis Morgan
--
Learn to code for free and get a developer job: www.freecodecamp.org
Read hundreds of articles on programming: freecodecamp.org/news

Пікірлер: 230

  • @DidCoding
    @DidCoding Жыл бұрын

    I had a lot of fun putting this course together. I hope everyone likes it.

  • @gameboyv1790

    @gameboyv1790

    Жыл бұрын

    hey! I love it

  • @aryanjain5535

    @aryanjain5535

    Жыл бұрын

    love ur content also remember ur 3rd party Google API's with django video

  • @joshurlay

    @joshurlay

    Жыл бұрын

    Thanks for the video!!! Perfect video for the start of the semester break in a week.

  • @rkdreamer1557

    @rkdreamer1557

    Жыл бұрын

    Can we can have course on API building with JAVA

  • @josbexerra8115

    @josbexerra8115

    Жыл бұрын

    @@rkdreamer1557, I think you didn't understand anything about RF and now you ask for java with spring which is much more complicated than the simple python...I think you didn't understand anything about RF and now you ask for java with spring which is much more complicated than the simple python with RF

  • @Hulker69
    @Hulker69 Жыл бұрын

    Just a heads up and for anyone experiencing the same issues I had, in module 3 I was getting errors when running docker-compose stating that "Package 'netcat' has no installation candidate" and that was halting the whole process. Apparently you need to change "apt-get -y install netcat" to "apt-get -y install netcat-traditional" in both of the files Dockerfile and Dockerfile_app (found in the /backend/docker/docker_files folder), this allowed the docker-compose process to complete. Not sure if it will have any reprecussions later on in the course but if it does I'll edit this comment.

  • @twpierce1730

    @twpierce1730

    Жыл бұрын

    thx for sharing your profession, this method help me indeed!!

  • @juanarango4917

    @juanarango4917

    Жыл бұрын

    Thanks mate.

  • @FatmavHassan

    @FatmavHassan

    Жыл бұрын

    thank you so much

  • @mallickpriyanshu

    @mallickpriyanshu

    10 ай бұрын

    Thanks, I got the same error

  • @kenk4552

    @kenk4552

    10 ай бұрын

    You are a saint! And your comment should get pinned!

  • @user-cc5ok3is9i
    @user-cc5ok3is9i Жыл бұрын

    Incredible! I enjoyed the course a lot. Everything worked as expected and I managed to also start a project I wanted to do using Django APIs.

  • @jdchannelviewer
    @jdchannelviewer Жыл бұрын

    Incredible timing, I'm working my first DRF API right now. Thanks!

  • @DidCoding

    @DidCoding

    Жыл бұрын

    Glad it’s helped 👍

  • @legendsanimexy8217

    @legendsanimexy8217

    9 ай бұрын

    Hey can I ask you for some help bro ?

  • @yunchipang7061
    @yunchipang7061 Жыл бұрын

    thank you bobby for putting this together. I had a ton of fun building my first api ^^

  • @kuku4kokopops
    @kuku4kokopops Жыл бұрын

    I think this is a great course. I've used django for a couple of years and this helped put things in a broader perspective. I got much more out of using Docker/Docker CLI. Great job.

  • @deequi77
    @deequi77 Жыл бұрын

    At last DRF!!! Been waiting for this for a long time

  • @shubhajit_07
    @shubhajit_07 Жыл бұрын

    The tutorial I was waiting for 🤩

  • @DidCoding

    @DidCoding

    Жыл бұрын

    🙌

  • @picassoofai4061
    @picassoofai4061 Жыл бұрын

    Somehow you've managed to provide useful content in such a short period of time. Great Content, You've got a subscriber.

  • @legendsanimexy8217

    @legendsanimexy8217

    9 ай бұрын

    Can I ask you for some help bro ?

  • @shashishekhar----
    @shashishekhar---- Жыл бұрын

    I was waiting for this since a long time

  • @bsbmovies4183
    @bsbmovies4183 Жыл бұрын

    Most awaited tutorial

  • @Decroiss
    @Decroiss Жыл бұрын

    Needed it the most!!!!

  • @muzaffarsabitjanov3843
    @muzaffarsabitjanov3843 Жыл бұрын

    Thank you so much for this course!

  • @Ireile
    @Ireile Жыл бұрын

    Thanks you for what you're doing! 👍🏻

  • @mdbillalyasir
    @mdbillalyasir Жыл бұрын

    I got a perfect tutorial. Thanks bobby!

  • @aquarius350
    @aquarius350 Жыл бұрын

    Thank you so much for this course.

  • @CodewithYusuf
    @CodewithYusuf Жыл бұрын

    Thank you very much! You are really great teacher

  • @LAKD
    @LAKD Жыл бұрын

    Good course, but it's really unfortunate you skipped over so many essential core fundamentals. It makes it harder to follow if you're new, and expects you to know a lot of about Django if you want more than a basic understanding.

  • @kamanzirama-munroe5560

    @kamanzirama-munroe5560

    11 ай бұрын

    I get what you're saying, but you could've looked up their django for beginners video and then revisit this project. It's also a great learning experience for those who are still in school to utilize documentation when coming across a roadblock. That's how it will be once they start working.

  • @noahg2
    @noahg29 ай бұрын

    For those having issue with getting into virtual env, use command prompt terminal instead of powershell one.

  • @anago7
    @anago7 Жыл бұрын

    thx for your work and contribution.

  • @wissemgolli6744
    @wissemgolli6744 Жыл бұрын

    very helpful and instructful video! thx

  • @Amir4v
    @Amir4v11 ай бұрын

    Amazing, Thank you :)

  • @polisvlogs2471
    @polisvlogs2471 Жыл бұрын

    Thanks for sharing 👌

  • @AhmedAl-Kurdi
    @AhmedAl-Kurdi Жыл бұрын

    i was waiting for that

  • @suryakumars9569
    @suryakumars9569 Жыл бұрын

    This channel is awesome. Can I get a system design course if possible?? LLD and HLD with MERN stack examples.

  • @aminulc
    @aminulc2 ай бұрын

    Very good content. Really appreciate the DRF explanation

  • @dixitsaurabh720
    @dixitsaurabh720 Жыл бұрын

    Hey..First of all thanks for your all video content that was very helpful and effective. And I have a request for you please make a video on the salesforce platform. What and how does it work? How to make the project, implement, and design all the stuff. I'm looking forward to hearing from you.

  • @ameetyadav7742
    @ameetyadav7742 Жыл бұрын

    In Module 3 I am getting error in container API(drf_course_api_1) logs as exec /code/docker/entrypoints/entrypoint.sh: no such file or directory. Does anyone knows the solution?

  • @ira3767

    @ira3767

    Жыл бұрын

    In the Dockerfile remove the contents in ENTRYPOINT. ENTRYPOINT[ ] Then rebuild and see if containers are running correctly. This fixed my issue.

  • @ameetyadav7742

    @ameetyadav7742

    Жыл бұрын

    @@ira3767 thank you so much it is working

  • @oluwatosintheophilus5727

    @oluwatosintheophilus5727

    Жыл бұрын

    @@ameetyadav7742 Hi were you able to make a post request?

  • @ameetyadav7742

    @ameetyadav7742

    Жыл бұрын

    @@oluwatosintheophilus5727 yes

  • @irabor18

    @irabor18

    Жыл бұрын

    @@ira3767 thank you!

  • @simraankhatib2693
    @simraankhatib2693 Жыл бұрын

    Great Course really. Btw, which extension did you use for this arrows pointing towards code? It looks good :)

  • @mahendranath2504
    @mahendranath2504 Жыл бұрын

    Thank you so much ❤👍🙏🏻👌

  • @erindeerhart5538
    @erindeerhart553810 ай бұрын

    I can't install Docker on my Windows 10 laptop because of a conflict with my video card drivers that causes a BSOD. In module 3, is there an alternative to using the docker-compose.yml file? I'm running Linux Mint in VirtualBox. Will I be able to use curl and HTTPie just fine without the contents of the .yml file? I've also installed Postman for Windows. Could I not just use this instead?

  • @parkuuu
    @parkuuu Жыл бұрын

    Are you reading my mind? Thanks!

  • @itexpert4193
    @itexpert4193 Жыл бұрын

    good one thanks

  • @lakshyarajdash
    @lakshyarajdash Жыл бұрын

    I really wanted this course when I was thinking to connect my static react app with the django backend. Thanks freecodecamp for this awesome tutorial. Please make a video on full stack app using django rest framework and reactjs.

  • @balazssrancsik1691

    @balazssrancsik1691

    Жыл бұрын

    +1 awesome idea

  • @Hahm28

    @Hahm28

    Жыл бұрын

    truely +1

  • @turembekov
    @turembekov Жыл бұрын

    Thank u so much.

  • @thecloudterminal
    @thecloudterminal Жыл бұрын

    Amazing, thank you for putting such an amazing course together

  • @heidigreen2454
    @heidigreen2454 Жыл бұрын

    Thanks cool guy!

  • @michaelmclaughlin7347
    @michaelmclaughlin7347 Жыл бұрын

    can i just use the docker extension in VS Code

  • @barrientoscardenaslinofern4717
    @barrientoscardenaslinofern4717 Жыл бұрын

    Why don't we create the signals file in the core application, if it receives signals when a record of the User table is updated or created, it wouldn't make more sense to put it in the application where the Contact model is located.

  • @susmitadey6735
    @susmitadey6735 Жыл бұрын

    We need a complete Django tutorial

  • @alibiner5054
    @alibiner50548 ай бұрын

    I have a problem that didn't run docker-api-1. I've changed crlf to lf at right bottom side on vscode

  • @rishiraj2548
    @rishiraj2548 Жыл бұрын

    Thanks

  • @sadokbejar2878
    @sadokbejar2878 Жыл бұрын

    hello , i'm a beginner but i hade to ask ! is this the right way to implement jwt-auth in django ? as i know a jwt token is not something you put in database ! it's a long string that is create each time a user matches the records in database . so a jwt-token will change in evry authentification . if i inderstand correctly, the jwt-token is static for each user in this exemple . thank you :)

  • @humbletitan8374
    @humbletitan8374 Жыл бұрын

    at the end of module 3>> my docker container "drf_course-api-1 seems to be stuck on restarting. I've pulled the exact replica files from git to make sure it wasn't my error. still the same issue. great course

  • @Thwaha

    @Thwaha

    Жыл бұрын

    I understand that this issue is because of Linux - Windows end of line character (CRLF-LF issue). I don't know how to fix it.

  • @niktaborse9572
    @niktaborse9572 Жыл бұрын

    Can we connect to a virtual server to fetch data through django

  • @juanarango4917
    @juanarango4917 Жыл бұрын

    This is an amazing and powerful tutorial, kinda advanced and do not recommend it at all if you're learning Django or DRF

  • @mikhailkalashnik0v
    @mikhailkalashnik0v Жыл бұрын

    Does it cover swagger docs implementation?

  • @not_amanullah
    @not_amanullah4 ай бұрын

    thanks ❤

  • @emanueltameklo6245
    @emanueltameklo6245 Жыл бұрын

    Quick question. I just finished module 3 and my API container's log keep displaying "exec /code/docker/entrypoints/entrypoint.sh: no such file or directory". Can anyone I tried researching but cannot find the answer

  • @ameetyadav7742

    @ameetyadav7742

    Жыл бұрын

    @Emanuel If you have resolved this error can you share the solution?

  • @ira3767

    @ira3767

    Жыл бұрын

    In the Dockerfile remove the contents in ENTRYPOINT. ENTRYPOINT[ ] Then rebuild and see if containers are running correctly. This fixed my issue.

  • @erick2051

    @erick2051

    Жыл бұрын

    @@ira3767 Worked perfectly for me! thanks! could you please explain why it works this way?

  • @harshasaiIT

    @harshasaiIT

    Жыл бұрын

    @@ira3767 thanks for commenting kindly also tell why this works if you have time

  • @keshameer9404

    @keshameer9404

    Жыл бұрын

    The issue could be because of windows line endings. If you have entrypoint.sh file saved with CRLF line ending resave it with Unix LF ending. That's helped me

  • @VinayakGNair
    @VinayakGNair Жыл бұрын

    Cool

  • @TypicallyThomas
    @TypicallyThomas Жыл бұрын

    Yet another course that promises to teach you stuff but only goes into its very specific area without offering more general methods

  • @shS83
    @shS838 ай бұрын

    I had trouble running docker-compose. I got "E: Package 'netcat' has no installation candidate". Apparently debian repositories do not have that package anymore so had to change backend/docker/docker_files/Dockerfile and Dockerfile_app. I replaced 'netcat' with 'netcat-traditional' and docker-compose runs correctly. Just a heads up if someone is having same troubles.

  • @jacojames

    @jacojames

    6 ай бұрын

    Confirming Fix. Most will find issue in Module 3.

  • @marek3213

    @marek3213

    3 ай бұрын

    cheers mate

  • @giannisk9043

    @giannisk9043

    2 ай бұрын

    Issue fixed. Thank you!

  • @lift5
    @lift5 Жыл бұрын

    In module 3 while running command 'docker-compose up -d --build' it shows me an error saying 'docker-compose is not recognized as the name of a cmdlet, function, script file, or operable program and so on.......'. What should I do in order to get rid of this error. I have tried reinstalling docker.

  • @polynomen

    @polynomen

    Жыл бұрын

    hi, did you resolve ?

  • @AminaBa-hp3vt
    @AminaBa-hp3vt3 ай бұрын

    I don't understand why the Flask app is needed? I created an image with Django and it works the same? Am I missing something? thanks!

  • @mx1318
    @mx1318 Жыл бұрын

    niceeeeeeeeeee

  • @fishnchips6627
    @fishnchips6627 Жыл бұрын

    The beard is back!

  • @rkdreamer1557
    @rkdreamer1557 Жыл бұрын

    Can we can have course on API building with JAVA

  • @khalidshaikh8168
    @khalidshaikh816810 ай бұрын

    please can you build an e-commerce angular integrated with Django rest framework project?

  • @ANTICHRIS619
    @ANTICHRIS619 Жыл бұрын

    What are the prerequisites for this course i know only python and Django and can perform basic CRUD operations in Django...

  • @humbertodavidramirezramos9453

    @humbertodavidramirezramos9453

    10 ай бұрын

    have hyper v, in other words have Windows 10 Pro, Windows 11 Pro. if you are notsoftware engineer. I have Windows 10 home language, so i can't execute docker (virtualizer).

  • @ANTICHRIS619

    @ANTICHRIS619

    10 ай бұрын

    @@humbertodavidramirezramos9453 ok got it...i can't buy windows pro...so can i use docker in Ubuntu ?

  • @sadiq.r9604
    @sadiq.r9604 Жыл бұрын

    This video is not for beginners, u should mention that

  • @iamajaydarji

    @iamajaydarji

    11 ай бұрын

    Yes

  • @romiljain2092
    @romiljain2092Ай бұрын

    I liked the course, but my only feedback is if some more attention was paid to the docker stuff rather than it being touched on a higher level

  • @owenzmortgage8273
    @owenzmortgage8273 Жыл бұрын

    High quality demo screen

  • @web_angle
    @web_angle Жыл бұрын

    You are mapping title and description fields in the Serialzer to the name and message. But we don't have title and description fields in the Contact model. How its working?

  • @web_angle

    @web_angle

    Жыл бұрын

    Got it. You're getting the title and description because you're inheriting the Contact model from django_extensions.db.models.TitleDescriptionModel

  • @wilvillafane5776
    @wilvillafane5776 Жыл бұрын

    I am excited about learning this. I completed module 1 but there were two things that did not happen as shown on video. First, after activating the virtual environment using "venv\Scripts\activate.bat" I did not see the terminal display "(venv)" leading the path. I don't know how to find out if the virtual environment was activated. Second, after installing the packages & requirements the pip installation reported a succesful install, but the packages are not shown under the venv>>Lib\site-packages directory as shown in video. I perform a git checkout and pull origin and results displayed 'Already up to date.' Did I do this right?

  • @Kithas

    @Kithas

    Жыл бұрын

    it probably isnt there are ways to check if the virtual environment is running. google through that you may have to do some bios tweaking to enable hardware virtualization like I did

  • @tusharverma4202

    @tusharverma4202

    Жыл бұрын

    in windows use venv\Scripts\activate instead of .bat one to activate the virtual environment

  • @Thwaha

    @Thwaha

    Жыл бұрын

    may be you will have to use activate.ps1 instead of activate.bat

  • @MrHadev

    @MrHadev

    Жыл бұрын

    Different terminals use different ways to activate virtual environment

  • @god_trueking

    @god_trueking

    8 ай бұрын

    For anyone else who comes to this issue, you should use Command Prompt instead Powershell or any other as your terminal. That seems to solve the (venv) problem.

  • @abduboriy5043
    @abduboriy5043 Жыл бұрын

    you just messed up all the stuff with docker, you would have better explained it also, l mean the configuration.

  • @Kithas
    @Kithas Жыл бұрын

    So overall i like the course. Im having some major issues though. I am new to django and am getting stuck in various areas. Usually I would be able to deduce and work backwards to figure out the issues but the virtual environment/docker/massive amount of copy/paste is making it basically impossible for me to follow where my error could be. I'm sure it makes things easier and more convenient but I can't troubleshoot this at all :/

  • @muntadher8087

    @muntadher8087

    Жыл бұрын

    Same here, I stoped watching at module 3 as things start get non-customiziable friendly

  • @Thwaha

    @Thwaha

    Жыл бұрын

    @@muntadher8087 me too. I got stuck in module 3 docker can't find entrypoint file. I understand that the problem is in the line ending difference between windows and linux but don't know how to fix it.

  • @qb4745

    @qb4745

    Жыл бұрын

    thank you

  • @singhalokk
    @singhalokk Жыл бұрын

    Adding "from dotenv import load_dotenv" is giving error that "Import dotenv could not be resolved", any idea what need to be done

  • @yoanbabulkov4316

    @yoanbabulkov4316

    Жыл бұрын

    have you installed the module? using pip or any other package manager

  • @singhalokk

    @singhalokk

    Жыл бұрын

    @@yoanbabulkov4316 Yes, it seems like already there. As when I tried pip to install, it came back with message requirement already satisfied.

  • @singhalokk

    @singhalokk

    Жыл бұрын

    Thanks for the help. I went back to all the steps, seems like I might have not properly done copy env.template command, as I am using mac. Used mv to copy and then, restarted the vscode and entered the env again and it worked.

  • @yoanbabulkov4316

    @yoanbabulkov4316

    Жыл бұрын

    @@singhalokk No worries, glad you managed to figure it out 😊

  • @TheWishDragon

    @TheWishDragon

    Жыл бұрын

    @@singhalokk This helped me, restarting VScode did the trick as I had already used the command. Thanks!

  • @sspence65
    @sspence65 Жыл бұрын

    I really wish people would get over their fascination with docker. I don't want or need to learn docker, I came to learn Django Rest.

  • @mat6plus
    @mat6plus Жыл бұрын

    Great tutorial and very informative as well KUDOS but looking at things from a beginner’s perspective, it absolutely not beginners friendly at all. I can bet the individual will practically struggle through the whole thing. Meanwhile this is exceptional. Keep up the good work.

  • @raghav7988

    @raghav7988

    Жыл бұрын

    did you find any good resources for beginner?

  • @mat6plus

    @mat6plus

    Жыл бұрын

    @@raghav7988 Quite a lot available here on KZread to get started with the technology. But it’s just that some are way better than the others without any doubt.

  • @raghav7988

    @raghav7988

    Жыл бұрын

    ok will check thanks ​@mat6plus

  • @dennishan2252
    @dennishan2252 Жыл бұрын

    when running python -m venv venv in cmd I get error C:\Python27\python.exe: No module named venv

  • @faizannazir5596

    @faizannazir5596

    Жыл бұрын

    pip install venv

  • @user-gm4ro9js1q
    @user-gm4ro9js1q4 ай бұрын

    The API shows "restarting" all the time. There is an error "exec /code/docker/entrypoints/entrypoint.sh: no such file or directory". Anyone knows how to solve? help would be appreciated

  • @SalmanSaleem92

    @SalmanSaleem92

    4 ай бұрын

    replace last line of DockerFile from ENTRYPOINT ["/code/docker/entrypoints/entrypoint.sh"] to ENTRYPOINT ["sh", "/code/docker/entrypoints/entrypoint.sh"]

  • @anton9410
    @anton9410 Жыл бұрын

    can anyone explain what '-r' means in pip install -r at 11:22

  • @DidCoding

    @DidCoding

    Жыл бұрын

    It’s an option you can access for the install command. It means Requirment file.

  • @hemalpatel3770

    @hemalpatel3770

    6 ай бұрын

    @@DidCoding @anton940 it simply means READ the file whichever you mention. in here its requirements.txt it reads it and installs the libraries are mentioned in that file.

  • @ilyawhitee
    @ilyawhitee3 ай бұрын

    (1:13:18) - High Briish

  • @acedogg90
    @acedogg90 Жыл бұрын

    in module one my Django, the Rest framework, and a few other things did not install. Is there anyone else having this issue?

  • @acedogg90

    @acedogg90

    Жыл бұрын

    in the virtual environment folder

  • @fulltimelinux

    @fulltimelinux

    Жыл бұрын

    So type CTRL + P then type in the bar Python: Select Interpreter then press enter. Then select the python interpreter with the correct virtual environment.

  • @oxydol3456
    @oxydol3456 Жыл бұрын

    i get the following error when I use 'python'. ModuleNotFoundError: No module named 'django'. when I use 'python3' instead get no errors. should I concern about it? -> never mind. an alias for another python was in effect in venv.

  • @georgianmusat9958

    @georgianmusat9958

    11 ай бұрын

    make sure you run sith sudo and python 3 or python or python3.x , depending where did you installed the django

  • @the_flask
    @the_flask Жыл бұрын

    gRPC when?

  • @not_amanullah
    @not_amanullah4 ай бұрын

    understand++

  • @inaciopaiva1536
    @inaciopaiva1536 Жыл бұрын

    I'm having problems with docker. Could someone help me? Successfully tagged djangoapi_app:latest Creating djangoapi_app_1 ... done Creating djangoapi_api_1 ... error ERROR: for djangoapi_api_1 Cannot start service api: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/code/docker/entrypoints/entrypoint.sh": permission denied: unknown ERROR: for api Cannot start service api: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/code/docker/entrypoints/entrypoint.sh": permission denied: unknown ERROR: Encountered errors while bringing up the project.

  • @ArnaldoParedesMarchena

    @ArnaldoParedesMarchena

    Жыл бұрын

    Just apply "chmod +x backend/docker/entrypoints/entrypoint.sh" in any terminal and run docker-compose's command

  • @KaliKali-cr4nf
    @KaliKali-cr4nf Жыл бұрын

    Your web for learning is very complicated I wish I could have made a used of it 😞

  • @stefanpeev7308
    @stefanpeev73083 ай бұрын

    dude your setting up of the course needs a course itself.

  • @fidelischukwunyere3142
    @fidelischukwunyere3142 Жыл бұрын

    I just miss async in Django

  • @6957-c5k
    @6957-c5k9 ай бұрын

    WARNING: If you are a beginner, this tutorial is not for you. The guy kept cutting and pasting code, which is hard to follow and understand, except you have some foundation in Django and how REST web APIs work.

  • @ShobhitAsati
    @ShobhitAsati Жыл бұрын

    Hey @DidCoding, sorry to be all geeky but I am getting this error while running docker, ERROR: for drf_course_api_1 Cannot start service api: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/code/docker/entrypoints/entrypoint.sh": permission denied: unknown I tried sudo with docker-compose but no change, also I have read online that there is something specific with shell scripts in linux but am not able to solve it, can you help?

  • @ShobhitAsati

    @ShobhitAsati

    Жыл бұрын

    Nevermind!! I found the answer as soon as I posted the comment. chmod +x backend/docker/entrypoints/entrypoint.sh

  • @stansemenov

    @stansemenov

    Жыл бұрын

    @@ShobhitAsati thanks for the solution :)

  • @ShobhitAsati

    @ShobhitAsati

    Жыл бұрын

    @@stansemenov mention not !! :D

  • @apk29

    @apk29

    Жыл бұрын

    @@ShobhitAsati Thanks! What does that do and where did you find it?

  • @yashraut9977

    @yashraut9977

    Жыл бұрын

    @@ShobhitAsati hey, how to use this?

  • @EnglishRain
    @EnglishRain Жыл бұрын

    Who is the guy at start of every video?

  • @ericmwangi1204
    @ericmwangi1204 Жыл бұрын

    am getting this message from doccer API. and am stuck at 42:00 min please assist

  • @ericmwangi1204

    @ericmwangi1204

    Жыл бұрын

    exec /code/docker/entrypoints/entrypoint.sh: no such file or directory

  • @sezaiemrekonuk
    @sezaiemrekonuk Жыл бұрын

    Summary: Lets copy this code and paste it. This is not a deep dive in to drf

  • @haroonrehman8156
    @haroonrehman81569 ай бұрын

    Instead of Copying and Pasting you should tell us what is the purpose of a certain thing.

  • @vanexcelacheampong9188
    @vanexcelacheampong9188 Жыл бұрын

    Anyone having difficulty with this tutorial should first read the following books in the same order: Django for beginners -> Django for APIs -> Django for Professionals. You can start working on APIs with Django rest framework after reading the first 2 books. Peace!

  • @DevinBrown-biz

    @DevinBrown-biz

    8 ай бұрын

    Thank you for this comment! I saw this comment about a week and a half ago. I’ve finish reading Django for beginners and now I’m half way through Django for APIs. I must say so far I’ve came across things I didn’t knew in Django plus few of my questions were answered from previous Django courses I’ve took, and I’m understanding APIs much better now (before I was confused and fustrated). I cannot wait to finish Django for APIs and move on to Django for Professionals. Thanks again! Btw if you have any other recommendations, let me know, at the moment I’m trying to become a python backend developer.

  • @vijaypathem5766
    @vijaypathem57669 ай бұрын

    Your voice reminds me of Peaky Blinders.

  • @jindrichjokel2401
    @jindrichjokel2401 Жыл бұрын

    the clone stuff is actualy worse causing a lot of errors, just show us what to install with pip and dont complicate it ...

  • @erick2051
    @erick20518 ай бұрын

    It's a poor tutorial. It is composed basically of copying and pasting code blocks for reasons than only the tutor or somebody experienced understand

  • @shahzaibali2558
    @shahzaibali2558 Жыл бұрын

    It's nice to have structured steps to follow but felt like all he's doing is copying and pasting.

  • @developmentwithtariq
    @developmentwithtariq Жыл бұрын

    First from Pakistan

  • @sachitsankhe5102

    @sachitsankhe5102

    Жыл бұрын

    Internet aagaya kya waha

  • @developmentwithtariq

    @developmentwithtariq

    Жыл бұрын

    @@sachitsankhe5102 g agya

  • @lalithrockz

    @lalithrockz

    Жыл бұрын

    @@developmentwithtariq bruh

  • @user-ll9uu6nz9t

    @user-ll9uu6nz9t

    Жыл бұрын

    @@sachitsankhe5102 Itni batameezi kyu karte ho yaar. Aise platforms pe to ye mat karo. Sadakchap hei kya tu?

  • @sachitsankhe5102

    @sachitsankhe5102

    Жыл бұрын

    @@user-ll9uu6nz9t tere pass toh Internet nhi hi hona chahiye tha

  • @cyborg69420
    @cyborg69420 Жыл бұрын

    never seen a teacher worse than him

  • @d3f3kt57
    @d3f3kt57 Жыл бұрын

    Too much copy and pasting here and there and not enough explanation of the code ...

  • @suyashpriyadarshi7
    @suyashpriyadarshi710 ай бұрын

    pls stop calling an example a 'course'. this was a nice video but not a course which teaches the fundamental working structure of rest_framework.

  • @vazhadvalishvili6426
    @vazhadvalishvili6426 Жыл бұрын

    As a .NET developer I can tell you that, it does not make any sense.

  • @DidCoding

    @DidCoding

    Жыл бұрын

    🤣

  • @user-yo4og4uu3v
    @user-yo4og4uu3v8 ай бұрын

    This doesn't really feel like a 'course'. All you really do is copy and paste things? I doubt anyone who completed this 'course' could actually do it again on their own.

  • @erick2051

    @erick2051

    8 ай бұрын

    Totally agree! Only the tutor and god understand why is he pasting all that code

  • @neelshah1943
    @neelshah19436 ай бұрын

    Thank you for the service! But this course is not for me, since instructor goes over many copy-pasting and doesn't go over the documentation. Overall good projects though!

  • @zain5251
    @zain52512 ай бұрын

    Why would anyone use this over fastapi? This is too much work