Silly question? Are API end points a Restful API? Also, I am debating between Golang and FastAPI when creating a restful API. I need to create one for my React project. My project isn't too complicated since I am at the beginner stages. It will be a basic crud app. Which one in your opinion has a fast development time. I am familiar with the basics of Python, and I have a little bit of an understanding of GO, Go is much different compared to JavaScript and Python. The pointers took me a while to figure out but now I understand Go pointers but haven't learned Go structs yet. Any thoughts? If you aren't familiar with Golang I would appreciate just your personal take on FastAPI development compared to Django or Flask.
@codingwithroby2 ай бұрын
Yo! In this instance, yes api endpoints are the URL to call the restful api. I would suggest FastAPI but you are also asking someone with a bunch of python/fastapi experience so I can certainly say I am bias. I prefer FastAPI over Flask. I prefer FastAPI over Django Rest. Django has an advantage over FastAPI if you want an all included MVC framework, but majority of the time I am going to choose FastAPI. Hope this helps!
@DevlogBill2 ай бұрын
@@codingwithroby thanks for getting back to me. I did a little of Django last year, 4 months. Great for crud apps but very hard when connecting an spa via serialization. Thanks for the info I need a backend only for 1 thing and it sounds like fastapi maybe the tool I need
@bojadev8 ай бұрын
Hi Eric! Your videos are really helpful, you can express every complex thing so clear and easily even when I'm not english native! Thanks a lot, I love your work.
@codingwithroby8 ай бұрын
Woot woot! This is exactly how I want to come off and bring value to everyone 🙂
@dantrrrrr Жыл бұрын
hey ,what theme vscode you use .btw video was good
@codingwithroby Жыл бұрын
Thank you so much for the kind words! I use One Dark Pro theme. It is an extension within VSCode.
@erindeerhart55389 ай бұрын
Great video, although it would have been nice to at least take a few seconds to explain why any or all of these updates boosts the speed of data validation by 5x-50x.
@codingwithroby9 ай бұрын
Well it is mostly Pydantic v1 vs v2
@geelani11 ай бұрын
Can we use fastapi with odoo since odoo is not asynchronous
@codingwithroby11 ай бұрын
I have never used odoo, but I do not see why not!
@erindeerhart55389 ай бұрын
Hasn't an in_thread() method recently been added in order to convert any blocking method into an async method?
@kevinthomas3007 Жыл бұрын
I've taken your fastapi course on Udemy (EXCELLENT BTW). Do you plan on updating it with the updated changes??
@codingwithroby Жыл бұрын
I am glad you enjoyed it! The changes have already been made .. to an extent. I have updated the course to display messages about certain functions deprecating and how to fix them. The hard part is FastAPI still supports both Pydantic v1 and Pydantic v2, so I need to wait until Pydantic v1 actually becomes deprecated
@kevinthomas3007 Жыл бұрын
@@codingwithroby Perfect! Thank you for the quick reply.
@erindeerhart55389 ай бұрын
Thanks for the recommendation! I might check it out...
@Moustafa_ayad Жыл бұрын
what about sqlmodel ?
@codingwithroby Жыл бұрын
Sorry can you give a little more information - What about sqlmodel?
@Moustafa_ayad Жыл бұрын
@@codingwithroby i mean with fastapi is using sqlmodel best of using pydantic and sqlalchemy ? or what you think