Thank you so much for this. Great explanation and structure for a beginner. I now have a clear framework to build on top of.
@codingwithroby
Жыл бұрын
Woot woot! Glad you were able to learn and find value 🙂
@상죽
20 күн бұрын
thank you very thank you. I’m not good at english but this video explain slowly and kindly
@codingwithroby
20 күн бұрын
I am glad it was helpful!
@linahmuhonja4128
25 күн бұрын
Thank you for the guide was good especially on db connection.
@codingwithroby
24 күн бұрын
Glad it helped!
@ushared-a-chregion3720
3 ай бұрын
really hot stuff Eric, thx for this very good explanation!
@codingwithroby
2 ай бұрын
Glad you like it!
@manojk1494
Жыл бұрын
2:07 I used to install dependencies one by one or by reading from a text file but this is new info thanks bro.
@codingwithroby
Жыл бұрын
Nice! Glad you were able to learn something new 🙂 Using a requirements.txt file is probably the best solution to installing multiple dependencies at once if you already have that defined… but if you are installing multiple dependencies to a brand new project keep it all on the same line and pip install them together!
@manojk1494
Жыл бұрын
Thanks for your response!
@codingwithroby
Жыл бұрын
Of course! If you ever have any questions or need anything just post them here 🙂
@williamvinct
Жыл бұрын
Hi Eric thank you so much for the clear explanation, your code is really clean
@codingwithroby
Жыл бұрын
Thank you so much 🙂 Glad you were able to find a lot of value!
@kal.
8 ай бұрын
where is the video on how to setup the mysql workbench? couldnt find it
@bhartendupandya3824
3 ай бұрын
Amazing, loved it! best content.!
@codingwithroby
3 ай бұрын
Thank you so much 😀 Woot woot!
@diassagatov9784
9 ай бұрын
amazing video, learned a lot! Tnx!
@codingwithroby
9 ай бұрын
Awesome sauce!
@roozensn
4 ай бұрын
Thanks a lot! Very helpful for beginners like me
@codingwithroby
4 ай бұрын
Glad it was helpful!
@ronjones1587
10 ай бұрын
Thank you ! You are the best!
@codingwithroby
10 ай бұрын
No - YOU'RE the best 🙂
@warisshaikh9474
6 ай бұрын
Super cool and easy steps salut to u sir love from karachi pakistan ❤
@codingwithroby
6 ай бұрын
Thanks!
@kgulle2
Ай бұрын
Teşekkürler, python kodlarını videoadaki gibi renkli gösteren eklentinin adı ne acaba?
@volodyslove
Жыл бұрын
Nice explanation 😁 Thanks
@codingwithroby
Жыл бұрын
I am glad you enjoyed it 🙂
@ΝεοκληςΚολλιας
Жыл бұрын
Next, could you cover the authentication and the authorization in FastAPI?
@codingwithroby
Жыл бұрын
Not a bad idea! I will look into adding this into a future video
@witty.coder1
7 ай бұрын
Thats so great sir. I am learning form you
@codingwithroby
7 ай бұрын
Glad to hear that!!
@florenciapesoa9015
Жыл бұрын
I really liked the video. Can I use the same steps but with MariaDB?
@codingwithroby
Жыл бұрын
It should work very similar!
@svcomplex1
Жыл бұрын
Thanks! Cool video. Greetings from Russia!
@codingwithroby
Жыл бұрын
Glad you liked it!
@danielnahuncalcinafuentes3772
Жыл бұрын
Hello, and how would be the query to get all the post of my table, without selecting one?
@codingwithroby
Жыл бұрын
Great question! Try doing: return db.query(Post).all()
@kavindulakmalw
11 ай бұрын
Thank you so much for the this tutorial. keep it up.
@codingwithroby
11 ай бұрын
You're welcome!
@alamos2404
Жыл бұрын
Excelente explicacion!😄
@codingwithroby
Жыл бұрын
Yay! Glad you like it 🙂
@nillsonsilva5896
6 ай бұрын
It works very well, however, how do i do an update for my posts ?
@archanan1340
7 ай бұрын
Hii i have one doubt we can connect already existing database and tables also
@juanriquelme1889
Ай бұрын
Thank you sir!!
@codingwithroby
Ай бұрын
Most welcome!
@aestriex
6 ай бұрын
How do we implement HTML/CSS front-end into this application? Also, can a user login/registration system be implemented? (where users can sign up for an account and then make posts, for example)
Great video, I have a small question. Whenever I delete a post and then add a new one, the post id will start from where it was last ended. For example if I create post 2 then delete it and then add another post, the new post will start from id 3. Is there anyway to reset the post id to fill in from the smallest id not being used?
@codingwithroby
Жыл бұрын
While it might seem like a good idea to "recycle" IDs to fill gaps, there are several reasons you might not want to do this, especially if you're new to development: The biggest reason is data integrity. If you've deleted a post and reuse its ID, you might end up with links, references, or logs that point to the wrong content. This is bad for data accuracy. Think of how Foreign Keys work. If you have another piece of data that references that post, and then you delete the post, the old piece of data now references the new data point. Overall, majority of the time you do not want to reuse primary keys once they have been created, and that is why by default databases do not reuse.
@ericflynn5799
Жыл бұрын
@@codingwithroby makes sense! Thank you for the clear explanation.
@elan311X
Жыл бұрын
Thank you so much for this, it's highly insightful _ please can you drop the syntax for update either post or user by user id as well as get all users.
@codingwithroby
Жыл бұрын
Hey friend! If you check out some of my other FastAPI videos I go over a whole bunch of different database queries and how they work 🙂
@InspireBeforeExpire-my6fm
7 ай бұрын
working correct
@dianavaleriaovallevaldes1980
6 ай бұрын
many thankssss!!😿
@codingwithroby
6 ай бұрын
You bet!
@ushared-a-chregion3720
3 ай бұрын
I have one question to it. How can I join tables ?
@abdullahmusheer4238
7 ай бұрын
as a newbie, i have a question, how can i host it so that external users can use it? i know we should secure it (whitelisting ip/tokens etc) but how can i load this python app to the internet for access to external users. thanks
@Manojkumar-fq2vu
5 ай бұрын
use vercel, or render bro
@izapawlukowska4545
9 ай бұрын
thanks king
@Kay-ip9fy
7 ай бұрын
Thanks!
@codingwithroby
7 ай бұрын
No problem!
@richter9911
9 ай бұрын
for update we use db.put at the end?
@mehul4mak
11 ай бұрын
Why you do not provide Id when creating user still it gets id number automatically?
@usmonbekravshanov6933
Жыл бұрын
Could you show your code in terms of asynchronous programming? Because here you declaring api views as asynchronous functions which do not await for db calls
@codingwithroby
Жыл бұрын
You probably do not need to use the async here. I added it just so people could see what a final state may look like
@youdontknowme4241
3 ай бұрын
It is showing that could not import module “main”. I have done everything as per video. Idk whats wrong?
@alifmahmud2946
3 ай бұрын
i have the same problem here.....bro..please let me know if you find any solution
@codingwithroby
3 ай бұрын
Make sure within your terminal you are in the correct folder where the main.py file lives.
@azer0013
5 ай бұрын
You did use Sql for chating with the data?
@codingwithroby
5 ай бұрын
Yes, this video is using SQL.
@iftikhar58
10 ай бұрын
but in this code , sql connnection established again and again for each request that bad things
@codingwithroby
10 ай бұрын
Nope that is a good thing - You do not want to keep connection on API requests!
@mr_don_key
4 ай бұрын
you didn't make a foreign key in the model ;-) (user_id is just a integer column, instead of a foreign key for id in user table)
@codingwithroby
3 ай бұрын
Yeah, I did this because then the comments would shift to "wtf is a fk" lol. So, I remove those outliers.
@k.a.93
8 ай бұрын
cool
@lapislazuli1949
5 ай бұрын
where is PUT request?
@Gamingman12362
9 ай бұрын
damn i cant even create a virtual enviroment, that's how unprepared I am.
@codingwithroby
9 ай бұрын
Ha this made me laugh - you got this!
@nmuyu
3 ай бұрын
this guy is so underrated
@nmuyu
3 ай бұрын
amazing editing
@codingwithroby
3 ай бұрын
Thank you so much 😊
@eriguzy
Жыл бұрын
i got this erroe AttributeError: module 'sqlalchemy.orm.session' has no attribute '__module__' how do i fix it please?
@codingwithroby
Жыл бұрын
This is hard without me seeing any code 😢 Perhaps it is something small and you can compare your code to the video again
@eriguzy
Жыл бұрын
@@codingwithroby please sir i would like to send the pictures of the errors to you via your social media, this is my exam project and i am behind time,let me know which platform i can send the screenshot asap i really need help
@eriguzy
Жыл бұрын
hey i fixed it>>>it was a lowercase mistake of sessionlocal instaed of Sessionlocal while i was importing, thanks for the video...i will be glad if theres any video on user registration and login with authentication as well for this blog app
Пікірлер: 95