<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Fastapi on Ravindra Devrani</title><link>https://ravindradevrani.com/tags/fastapi/</link><description>Recent content in Fastapi on Ravindra Devrani</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 18 Oct 2025 20:18:50 +0530</lastBuildDate><atom:link href="https://ravindradevrani.com/tags/fastapi/index.xml" rel="self" type="application/rss+xml"/><item><title>Fastapi CRUD With Postgres</title><link>https://ravindradevrani.com/posts/fastapi-crud-with-postgres/</link><pubDate>Sat, 18 Oct 2025 20:18:50 +0530</pubDate><guid>https://ravindradevrani.com/posts/fastapi-crud-with-postgres/</guid><description>&lt;!-- raw HTML omitted -->
&lt;p>In this tutorial we learn to create REST Apis with &lt;code>fastapi&lt;/code>. We are going to use:&lt;/p>
&lt;ul>
&lt;li>&lt;code>FastApi&lt;/code> for creating APIs&lt;/li>
&lt;li>&lt;code>PostgreSQL&lt;/code> as a database&lt;/li>
&lt;li>&lt;code>SQLAlchemy&lt;/code> as an ORM tool&lt;/li>
&lt;li>&lt;code>Alembic&lt;/code> as a migration tool&lt;/li>
&lt;/ul>
&lt;h2 id="tech-and-tools-used">Tech and tools used&lt;/h2>
&lt;ul>
&lt;li>Linux os (you can use window or mac also. But with windows your commands might be a little different. I suggest you to use &lt;code>GitBash&lt;/code> in windows)&lt;/li>
&lt;li>I am using &lt;code>uv&lt;/code> to create project, you can download it from &lt;a href="https://docs.astral.sh/uv/getting-started/installation/">here&lt;/a>&lt;/li>
&lt;li>Python 3.12&lt;/li>
&lt;li>VS Code (code editor) with extension &lt;code>Python&lt;/code> by microsoft&lt;/li>
&lt;li>PostgreSQL (I am using it in a docker container, you can use installed version too)&lt;/li>
&lt;/ul>
&lt;p>The reason I am using &lt;code>uv&lt;/code>, because it is pretty fast and I can easily manage dependencies with it.&lt;/p></description></item></channel></rss>