REST APIs Are Not Enough, You WANT To Learn THIS

REST APIs Are Not Enough, You WANT To Learn THIS

Eric Roby

1 день назад

3,775 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@hatem.tommy.lamine
@hatem.tommy.lamine - 06.01.2024 18:45

Great video. Could you share the repo link by any chance please?

Ответить
@rafiali7315
@rafiali7315 - 11.01.2024 20:28

i watched your three times but i am got same error my question pass in db perfectly but choices doesnt put,

Ответить
@muhammadnajamulislam2823
@muhammadnajamulislam2823 - 14.01.2024 18:25

very nice and easy way of teaching

Ответить
@ledieuduballonrond456
@ledieuduballonrond456 - 06.02.2024 14:26

Hi Eric I hope you're doing well,
I have a slight issue when I paste the URL on my browser i keep getting "detail" : "not found". If anyone could help me please ?

Ответить
@juandelgado6201
@juandelgado6201 - 22.02.2024 18:21

Can you share github repo with that project ?

Ответить
@mattmarshall1834
@mattmarshall1834 - 02.03.2024 22:58

Great tutorial. Very quick and to the point. It would be interesting to see a video about releasing a FastAPI/React/Postgres application to AWS or GCP.

Ответить
@VeejayRampay
@VeejayRampay - 14.03.2024 02:40

class with a plural name are bad form but this is a nice video, props

Ответить
@lotusmojo
@lotusmojo - 15.03.2024 01:23

Great job buddy!.. very clear and concise

Ответить
@fahdagodzo5795
@fahdagodzo5795 - 30.03.2024 01:18

thanks, it's been helpful

Ответить
@trixer230
@trixer230 - 31.03.2024 01:06

I would love this tutorial but showing how to use relationships. For instance how would you make it pull all the answers automagically when the question is pulled?

Ответить
@AxlRoseGVillanueva
@AxlRoseGVillanueva - 31.03.2024 18:05

Greate tutorial!! how can we update database if we made changes from models? I really appreciate!

Ответить
@shotihoch
@shotihoch - 16.04.2024 20:37

Absolute usefull tutorial. Found it... ughhh finally. Thank you! It was pretty hard to understand db_dependency = Annotated[Session, Depends(get_db)] logic, but with gpt i think I got it. Didnt get about async without await thing.... but I just think it some kind of inner processes of FastAPI requires it. Anyways thank you!

Ответить
@DIVYANAMBIAR-by7om
@DIVYANAMBIAR-by7om - 30.04.2024 04:40

Thank you, Eric. Really helpful

Ответить
@owaisahmed2063
@owaisahmed2063 - 02.06.2024 18:34

pgadmin video link please

Ответить
@arbengb
@arbengb - 03.06.2024 16:29

no homo, I love you for this. Thank you.

Ответить
@Anteater23
@Anteater23 - 13.06.2024 02:11

Great video

Ответить
@NobixLee
@NobixLee - 17.06.2024 06:54

Watching on my phone, can’t wait to follow along I actually need to fully understand this for work. Thanks man

Ответить
@kurasoe
@kurasoe - 21.06.2024 05:11

Nice video, if beginner level. Only recommendation I have is a github repo with the code.

Ответить
@ЭрнестОлмасхон
@ЭрнестОлмасхон - 24.07.2024 13:27

thank u man!!! i don't understand all ur words, because my english not good. But this video was better than videos in my native language. I hope that u do more videos about FastAPI, actually FastUI. Thank u so much another time.

Ответить
@onclick-xt3mu
@onclick-xt3mu - 08.08.2024 13:20

Very Great Tutorial, Greetings from Egypt

Ответить
@fonjohn
@fonjohn - 13.08.2024 02:04

Hey Eric, great video. I'm slowly working towards getting this deployed to Heroku, and they require SSL. Unfortunately that screws up the local DB development environment connection, so I came up with a solution that I hope works when I deploy. Heroku uses os.environ['DATABASE_URL] to set the database URL, so for development, I also saved a system variable for my local connection. To get around SSL, I saved an additional local connection variable in .env, and the process checks if the system variable matches the .env variable. If it does, then it's local, and can drop the SSL:

from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base
from dotenv import load_dotenv
import os
load_dotenv()

DATABASE_URL = os.environ['DATABASE_URL']
DATABASE_LOCAL = os.getenv('DATABASE_LOCAL')

if (DATABASE_URL == DATABASE_LOCAL):
engine = create_engine(DATABASE_URL)
else:
engine = create_engine(DATABASE_URL, connect_args={"sslmode": "require"})

SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)

Base = declarative_base()

---
Anyway, no idea if this will work. Fingers crossed

Ответить
@yvysunu
@yvysunu - 12.09.2024 19:14

nice video! do you have one implementing postgres + data validation + docs + auth?

Ответить
@sebastianmonroy5553
@sebastianmonroy5553 - 22.09.2024 08:10

i need your help

Ответить
@АлександрБутин-к9ю
@АлександрБутин-к9ю - 24.09.2024 20:14

Thank you so much for this video!
I'm so sorry to ask about it, but how to turn on same auto completion for code which you use in VS code...
Somehow the VS code offers you everything even at the moment of importing libraries..

Ответить
@merimagdi
@merimagdi - 29.09.2024 22:31

Amazing video! I love how you break down complex concepts into simple steps, and the pace is perfect for a beginner like me :) I'm definitely buying your Udemy course. Looking forward to building my next API with FastAPI!

Ответить
@seemahebbar7002
@seemahebbar7002 - 06.11.2024 07:45

This is a really great video, however I'm getting winerror 10013 an attempt was made to access a socket in a way forbidden by its access permissions error. Kindly help and let me know where I went wrong

Ответить
@kp12345-n
@kp12345-n - 22.11.2024 00:27

I'm disappointed. Users could learn more from the ChatGPT than watching this video. You didn't show Async SQLAlchemy which is a challenging topic. Sync SQLAlchemy is pretty straightforward.

Ответить
@GayuniBas
@GayuniBas - 01.12.2024 13:15

Please when you're making tutorials don't just read the lines. We can read ourselves. We'd appreciate it if you could briefly mention why we need each line.
But either way, Thank you very much for this tutorial it helped me get a clear overview of how to use FastAPI with PostgreSQL

Ответить
@mimiomare9439
@mimiomare9439 - 08.12.2024 19:23

This was really helpful; thank you!

Ответить
@pushkarbansal1926
@pushkarbansal1926 - 28.12.2024 11:48

Great, to the point video, and love the bg music

Ответить
@mahmoudmedany4259
@mahmoudmedany4259 - 08.01.2025 17:38

hello mr Eric
i am Medany from EGY i'm a jr DevOps Engineer and try to improve my python skills
That was great video, but my comment at the your next videos i hope u explain each library usage or any section at the code such "async"
thanks for ur help♥

Ответить
@angelopoku7458
@angelopoku7458 - 24.01.2025 22:34

I have watched tons of tutorial about FastAPI, and this is by far the best one. You do not just show us how to write FastAPI, you actually showed the whole setup, how what links to what, what models are, how they link to database and postgresql. This is 27mins+ and its way more useful than 1hr+ videos I have watched. Not to mention that your tone is soft and encouraging. God bless you!

Ответить
@tacca4720
@tacca4720 - 10.02.2025 16:13

Quality. Thanks.

Ответить
@devjariwala8735
@devjariwala8735 - 26.02.2025 08:11

Thank you for this useful content!

Ответить
@남호석-y3j
@남호석-y3j - 12.03.2025 09:32

감사합니다 ^^

Ответить
@miwdawid5665
@miwdawid5665 - 13.03.2025 22:01

The translation of the text into English is:

Eric which extension for VSCode do you use to support (provide suggestions) when writing code in FastAPI?

Ответить
@erikalessa9591
@erikalessa9591 - 14.03.2025 23:03

very good!!! but i had problems with utf8 decode, so i changed the conection using URL.CREATE from sqlalchemy, describing username, password, host etc. :)

Ответить
@sergioernestotostadosanche2509
@sergioernestotostadosanche2509 - 20.03.2025 05:18

From the bottom of my heart, thank you for sharing your knowledge, your examples are so clean that they make I want to learn more a more. Regards from Mexico a God bless you! Keep the excellent job.

Ответить
@jaswindersingh219
@jaswindersingh219 - 22.03.2025 06:51

Great content, one suggestion the green border around the image is very distracting 😅

Ответить
@MikeDev-Sooworr
@MikeDev-Sooworr - 30.03.2025 14:15

The "Just repeat after me" type of training format is very stupid and pointless. It does not give the most important thing - understanding.

Ответить
@flosrv3194
@flosrv3194 - 05.04.2025 23:26

sir i dont understand, postgresql on my computer, works with schemas that are like "sub-db" under the db, i'm confused seeing you code like it has no schema like in mySQL, how can i specify a schema i want to work in ?

Ответить
@thelasttorch
@thelasttorch - 13.04.2025 06:10

why even use async keyword or FastApi when you are not even using any await expression?
Using async without await totally destroys the purpose of FastApi.

Ответить
@ayushratan6452
@ayushratan6452 - 29.05.2025 10:37

How are you able to simply return the get requests ? dont they return an object?

Ответить
@yltfy
@yltfy - 29.05.2025 10:49

Great video! Quick question: it seems the sqlalchemy orm codes do not work in the async manner. Is there any problem to define route functions as async functions while doing DB operations synchronously?

Ответить
@christiankelly8579
@christiankelly8579 - 02.06.2025 17:59

If you want to use the async functions shouldn’t you be using the create_async_engine function

Ответить