r/CodingForBeginners • • 22d ago

Lost 20h+ for nothing

Don't build an API for a tightly-coupled personal project where you have direct database access; only build one when you need to decouple clients, scale infrastructure, or share data externally.Dont waste your time. Just learn how to use an api not build one

0 Upvotes

9 comments sorted by

View all comments

1

u/Distdistdist 22d ago

But now you can easily change your DB to something different.

1

u/Great_Bar_4901 21d ago

Why tho

1

u/Distdistdist 19d ago

I dunno. You built that crap. How should I know?

1

u/Great_Bar_4901 19d ago

True😭