17 mins in and I already know I found the most comprehensive video about this.
@veryacademy2 жыл бұрын
Thanks
@shygrammer2 жыл бұрын
As a backend engineer, docker is most important and confusing for beginners. You made it look really easy!! Thank you!
@danswaney4134 Жыл бұрын
I had to change the first line in the *'Dockerfile'* to: *FROM python:3.9* ...because it was trying to use *Python 3.11* and caused a build break with *'greenlet'* and the failure when the *c_app* tries to use 'psycopg2'. Hope this helps in case someone else has the same issue I had. It all worked after citing to use *Python 3.9*.
@yuvrajr6491 Жыл бұрын
Thanks man
@rajuljha Жыл бұрын
Thanks for saving me man! I was troubleshooting for quite some time and finally this worked for me!
@touchtbo6 ай бұрын
Thanks, man a year later this reply is still useful.
@Dystopian14 ай бұрын
Does it work with psycopg2-binary?
@anthonyjones74679 ай бұрын
Great video! Very helpful overview and great explanations of the details. It's the most thorough (and practical) I've come across. Thanks!
@veryacademy9 ай бұрын
Glad you enjoyed it! I have just made a new FastAPI course. Happy for you to have it, just email me I will link you it for free. helpdesk@veryacademy.com
@DhruvSharma-zu7pq3 жыл бұрын
You are a true saviour to junior devs trying to get through the python eco-system! You're my inspiration Zander!!
@veryacademy3 жыл бұрын
Hi Dhruv, too kind! 👍
@skysaville2 жыл бұрын
Ha Ha!!! I had forgotten the env vars for pgadmin... I was going along and ran the 'up' command and it threw an error. Took me a hot second to realize I never added the environment variables for it. Funny enough... I had paused the video to troubleshoot it and work through everything, then sure enough... you hit the same error code. Kind of put a smile on my face. Love the content!
@skysaville2 жыл бұрын
50:05 -- Database models
@as5728-h1i2 жыл бұрын
After your Django REST API tutorial, I was looking forward to this. Thank you so much
@veryacademy2 жыл бұрын
Glad it was helpful!
@NvmThemHereIAm2 жыл бұрын
this tutorial is seriously underrated. Very useful information! Thanks
@veryacademy2 жыл бұрын
Glad it was helpful!
@brianoflondon3 жыл бұрын
Excellent video! Making little mistakes is absolutely fantastic. The debugging process is so valuable!
@brianoflondon3 жыл бұрын
I've been trying to understand how to dev inside a live Docker Container and suddenly at 50m after you fixed the error on startup of the API for the first time I understood!!!!
@veryacademy3 жыл бұрын
Totally agree!
@brianoflondon3 жыл бұрын
@@veryacademy I think I just figured out how to attach to a running container with vscode to use the debugger but a clear video on this would be super useful to many.
@PrakashReddyK2 жыл бұрын
Very very informative video , crystal clear and straight to the point ,Thank your very much for your efforts , Keep the Fast API videos coming.
@romabalance Жыл бұрын
Thank you! You explain really calm and sequently 🙏
@matheusc.manoel46572 жыл бұрын
Got an error related to greenlet on docker-compose build. Fixed by changing greenlet version to 2.0.a2 on requirements.txt. Not sure it broke something but the docker-compose build command worked.
@matheusc.manoel46572 жыл бұрын
I ran into another error with psycopg. Like the previous one, it was because of the python version (3.11) on the app container. So i changed the first line of the Dockerfile to "FROM python:3.8.10"
@sid9137 Жыл бұрын
Thanks a lot bro, I faced the same error.
@zhangmingkai20082 жыл бұрын
That's great. Watched a lot of videos and that's what I needed.
@che_coelho2 жыл бұрын
Absolutely brilliant tutorial. Few and far between to see architecture like this weaved together and used effectively. Well done!
@vulnerablegrowth37743 жыл бұрын
Thank you for making this a more complete tutorial. I find it a little annoying when tutorials give you the basic information you can find on the documentation, but don't take it the step further to make it into an actual production-level app. There's a lack of truly "end-to-end" type tutorials.
@veryacademy3 жыл бұрын
Hey there. Yeah, I have fallen foul of that. I will be making bigger efforts in future tutorials to point people to other sources, and to ensure they know where the source of the tutorial should it be similar to the documentation. I like to think I try and compliment the documentation. I think part of the issue is that the documentation doesn't always provide clarity to cater for those at different levels of their development. Surveying the tutorial channels/courses over the last year, there is very little or no actual production-level development tutorials or courses. It is no surprise really. The varied skillset as an individual needed to do this would probably mean they are already getting paid an excellent wage. Why would you make code tutorials when you can make more money from funny cats right! It will take a few iterations, but my goal is to get an end to end Django app out there - this is what the ecommerce development is all about. It is just a mammoth amount of time needed.
@rohitgautam39333 жыл бұрын
Thank you !! This is what I was looking for :)
@veryacademy3 жыл бұрын
You are welcome!
@AnsumanSingh1 Жыл бұрын
So much to learn. Thank you for making this video.
@doyourealise3 жыл бұрын
amazing subscribed...keep on continue fastapi sir. Loved it from nepal :)take care
@veryacademy3 жыл бұрын
Thank you so much 😀
@androidbox6876 Жыл бұрын
Best all around tutorial 🤓
@ChandaKumari-wz2or3 жыл бұрын
Thanks a lot for this tutorial, this made my day :)
@Chocolanay3 жыл бұрын
Thanks for fulfilling my request 😁
@veryacademy3 жыл бұрын
Slowly working through a list here. Its a bit random sometimes. Hope it is useful!
@al30303 жыл бұрын
Thanks. Appreciate the video and end-to-end tutorial :-) What could enhance this great video further, is before diving into the walk through in part 3 to set-up the main components and packages in a few slides and explain their purposes and how they interact. We get introduced to them on the fly and I found it hard to digest in one go. I guess one can rewatch this section a few times to get it but if you would make this little shortcut, I think it would bring this great video to GOLD standard :-) Keep up the good work and valuable content!
@kostiantynivashchenko28353 жыл бұрын
Thank you for your work, one is very explanation for beginning.
@veryacademy3 жыл бұрын
You are welcome!
@markistheone9473 жыл бұрын
Amazing job, will promote this channel to everyone.
@veryacademy3 жыл бұрын
👍
@sweetshoez Жыл бұрын
This was very helpful, great stuff
@veryacademy Жыл бұрын
Glad to hear it!
@AcademyOmen3 жыл бұрын
Sir what about the open source project you mentioned once, wanna be helping in Django project so you have more time to record🙏
@veryacademy3 жыл бұрын
Hey, thank you - in a week or two I will make a video about it all. No surprises here, I would like to help testing the ecommerce project so that we can get it fully tested ready to add more advanced content. Just need to set it all up.
@AcademyOmen3 жыл бұрын
@@veryacademy Alright Sir.. Waiting 🙏 Thanks for the feedback
@arturocdb2 жыл бұрын
Really great!…, thank you so much for doing so simple!… really appreciated!…
@veryacademy2 жыл бұрын
You're very welcome!
@tayfununver3330 Жыл бұрын
Thank very much. What a wonderful video.👍
@jackfrost89693 жыл бұрын
I'm learning Django Rest Framework and it's taking a great toll on me. I hope this one is much simpler something like node and express.
@veryacademy3 жыл бұрын
Just keep at it - it will slowly all sink in.
@magdyismail9467 ай бұрын
Thanks a lot pro for this tutorials 🙂🙂🙂
@heavyfpv Жыл бұрын
Nice tutorial, Bro!
@whichdude4203 жыл бұрын
Ayyyy FastAPI let's gooo!
@boyloverzone2 жыл бұрын
Thank you very much, understand more about Docker.
@elatreby80653 жыл бұрын
one word ... LEGEND!
@veryacademy3 жыл бұрын
Keep in touch...
@androchvertkini73092 жыл бұрын
Thanks a lot for your work! Very helpful content with a great explanation.
@perceptron59832 жыл бұрын
Thank you for your efforts Sir. You have a new subscriber.
@robvp712 жыл бұрын
Excellent tutorial.. highly appreciated!
@AcademyOmen3 жыл бұрын
Oh My My, thanks Sir.. Wanted to experiment with some fast API😆
@veryacademy3 жыл бұрын
Enjoy
@nottobethatpersonbut2 жыл бұрын
For you M1 mac users that get a problem when trying to migrate your db with the "docker-compose run app alembic revision --autogenerate -m "New Migration", you can try what i found to work. The error text: sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) SCRAM authentication requires libpq version 10 or above So to fix that open the Dockerfile and change python version to 3.11 = FROM python:3.11 Then after RUN pip3 install --upgrade pip ..You add the following 2 lines: RUN apt update -y && apt install -y build-essential libpq-dev RUN pip3 install psycopg2-binary --no-binary psycopg2-binary Hope this help!
@joaopedroortunes6863 жыл бұрын
Hey Zander, really cool video !! Do you plan to make a series about fastapi? Like some kind of complete app like the ones you do in Django? Thanks for your videos man, they are really good!
@ardyubanos92262 жыл бұрын
Is there a N+1 problem in Fastapi just like Django?
@havingfunxd2 жыл бұрын
What color scheme is that in VSCode? Does anyone know? Pretty please
@denmarkgarcia51533 жыл бұрын
Thanks for this sir!
@liberana3 жыл бұрын
I was having issue with update/put method, any help?
@rangabharath42533 жыл бұрын
Awesome 👍
@veryacademy3 жыл бұрын
Thanks 🤗
@fjoralbismolli34903 жыл бұрын
It seems that we cannot access the database if we run it locally :/. I would appreciate any help on this issue.
@lolsito22 жыл бұрын
I got this error when i docker-compose up (FAILED: No config file 'alembic.ini' found, or file has no '[alembic]' section), what i need to do to fix it, i tried everything but still doesnt work
@jacklinetum5460 Жыл бұрын
Facing this today too😢
@spatialnasir9 ай бұрын
I also faced the same issue. But I didn't see the error when I finished the tutorial. My advise: skip the demo part and debug along as you follow the tutorial.
@davishek73 жыл бұрын
Are you going to make a series or just single video. Anyway great as usual.
@veryacademy3 жыл бұрын
No idea, depends if anyone wants it a guess. There is still much to be done with Django of course.
@muhammadashirali49822 жыл бұрын
I need update and delete methods for this? Can someone help me with this
@imaginatecstv Жыл бұрын
Hi Zander. Your Django ecommerce series is great. I think it'll be perfect to recreate your ecommerce series using FastAPI to create APIs instead of Django for APIs. FastAPI is faster and API first package. So, we can enjoy faster API calls for large scale systems. What do you say?
@veryacademy Жыл бұрын
I have plans to do more FastAPI tutorials and courses. I am at the minute building an SQLAlchemy Course which features FastAPI and Flask. The plan is at the minute is to finish that then roll out the last parts of the djChat. With that done I will do a FastAPI fapiChat, replicate the project with other tools. I then after or before need to pump out the Django Mastery which will be a 100+ hour course. There is just so much to do. With the ecommerce work, I want to build something much more indepth which includes deeper design, testing phases to make it more realistic, want people to feel they are actually doing a real project. Needless to say, there is much work to do done.
@imaginatecstv Жыл бұрын
@@veryacademy Thank you so much for the reply. Also, I think with the Django e-commerce work, to make that playlist more complete, adding Payment integration tutorial to the existing DB design would make it pave the way for someone to go ahead and create frontend by themselves. I'm thinking to create a product out of your tutorials of Django series v2. Is that in your plan, Zander?
@epic35482 ай бұрын
If u still getting errors you can remove versions from all the packages in the requirements.txt file
@TheAremoh3 жыл бұрын
Wow, just wow!
@medazizchagour67503 жыл бұрын
i tried using the python alpine version but it did not work .. any ideas why ?
@veryacademy3 жыл бұрын
Hi, sorry not at the computer, but, I did address this I think in the later tutorial you will find a docker file using alpine
@santoshmaharana40203 жыл бұрын
Can you make an E-commerce project in fast API?
@santoshmaharana40203 жыл бұрын
thank you for making these videos
@veryacademy3 жыл бұрын
Thanks Santosh - I am working on version 2 of the ecommerce store with the mindset that I will roll it out with Django templates > React/Next.js > GraphQL > Fast API. It is partly reason I started rolling out these introductory tutorials 👍
@robvp712 жыл бұрын
2022 update > if you get an error about postgres 14 vs 13 change the postgres image to image: postgres:13.7-alpine3.16, remove the already built images and build it again. That should solve the issue.
@hassannaghibi19792 жыл бұрын
so interesting
@gunahawk68932 жыл бұрын
For job opportunity can i bet on fastapi?
@veryacademy2 жыл бұрын
Think of fast api as a tool, in order to use tools you need to understand in this case Python / databases. Typically you would apply for Python roles and fastapi might be a tool you use in the job. There won’t be as many jobs for a specific tools such as fastapi
@gunahawk68932 жыл бұрын
@@veryacademy understood thanks for the reply bro
@mohammadpalashbabu87183 жыл бұрын
Can It replace of django?
@veryacademy3 жыл бұрын
API wise, yeah definitely.
@a2258553053 жыл бұрын
can we also add a streamlit course to connect to this API Web Framework! It will be so great!
@justacasualdeveloper3 жыл бұрын
Looks like I have a long video to watch today 😁.
@veryacademy3 жыл бұрын
Hope you enjoyed it!
@justacasualdeveloper3 жыл бұрын
@@veryacademy I loved it, although I had to skip the initial portion (Docker), I learned a new technology. One question tho, are you planning to make a series or only some videos on this topic ?
@veryacademy3 жыл бұрын
@@justacasualdeveloper Am just building another one at this minute with GraphQL
@sauravadhikari86453 жыл бұрын
@@veryacademy oh wow, I'm looking forward to watching it. 😁
@Hemant-Dev Жыл бұрын
first of all thanks for this video and please tell me this theme name
@veryacademy Жыл бұрын
Owl is the name of the theme
@Hemant-Dev Жыл бұрын
@@veryacademy thanks for your reply
@wanderer4825 Жыл бұрын
God's and Angel's bless and protect you always.
@drdarbandi482 жыл бұрын
Xander My Man Please Start a Course about Creating telegram Robots
@veryacademy Жыл бұрын
Its a bit out there for now, but I will consider it in the future. At the moment, I am focused on Django.