DEV Community

Ozee
Ozee

Posted on

FastAPI + SQLAlchemy: Full CRUDL App Tutorial

Hey folks! πŸ‘‹

I've just published a new article on building a FastAPI + SQLAlchemy Full CRUDL App. πŸš€ It’s a step-by-step tutorial where I cover everything from setting up the environment to building a full-fledged CRUDL app using FastAPI and SQLAlchemy.

Feel free to give it a read and leave your thoughts or feedback! I’d love to hear what you think.

Check it out here:
πŸ‘‰ FastAPI + SQLAlchemy Full CRUDL App Tutorial

Top comments (2)

Collapse
 
solvecomputerscience profile image
Solve Computer Science

You should try SQLModel if you haven't done so already. It's easier than SQLAlchemy, although there are some doubts on how to perform migrations. Anyway it's an interesting project overall.

Collapse
 
ozee profile image
Ozee

Thanks for the suggestion! πŸ™Œ
Yes, SQLModel is a really interesting β€” I appreciate its simplicity and the way it combines Pydantic and SQLAlchemy. It definitely lowers the learning curve for newcomers.

You're right about the migration part β€” that's still a common point of confusion since SQLModel doesn't have native Alembic integration out of the box. But with the right setup, it's definitely manageable.

I might consider doing a follow-up post or comparison between SQLAlchemy vs. SQLModel in the future. Appreciate your feedback!