<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Uvicorn on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/uvicorn/</link><description>Recent content in Uvicorn on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 26 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/uvicorn/index.xml" rel="self" type="application/rss+xml"/><item><title>Launch Your First FastAPI App: Hello World &amp;amp; Beyond</title><link>https://ai-blog.noorshomelab.dev/fastapi_beginner_course_20251025_173235/launch-your-first-fastapi-app-hello-world--beyond/</link><pubDate>Sat, 25 Oct 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/fastapi_beginner_course_20251025_173235/launch-your-first-fastapi-app-hello-world--beyond/</guid><description>&lt;h1 id="launch-your-first-fastapi-app-hello-world--beyond"&gt;Launch Your First FastAPI App: Hello World &amp;amp; Beyond&lt;/h1&gt;
&lt;h3 id="what-youll-learn"&gt;What You&amp;rsquo;ll Learn&lt;/h3&gt;
&lt;p&gt;In this foundational chapter, you&amp;rsquo;ll take your very first steps into the world of FastAPI. By the end, you will be able to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Set up a clean Python development environment using virtual environments.&lt;/li&gt;
&lt;li&gt;Install FastAPI and Uvicorn, the server that runs your FastAPI applications.&lt;/li&gt;
&lt;li&gt;Create your first &amp;ldquo;Hello World&amp;rdquo; FastAPI application.&lt;/li&gt;
&lt;li&gt;Run your FastAPI application locally and access it from your web browser.&lt;/li&gt;
&lt;li&gt;Understand the basics of FastAPI path operations and how to define simple GET request endpoints.&lt;/li&gt;
&lt;li&gt;Return various basic responses, including strings and JSON objects.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="core-concepts"&gt;Core Concepts&lt;/h3&gt;
&lt;p&gt;Welcome to building web applications with FastAPI! We&amp;rsquo;re going to start from scratch, ensuring you have a solid foundation.&lt;/p&gt;</description></item><item><title>Build a REST API with FastAPI</title><link>https://ai-blog.noorshomelab.dev/tutorials/build-rest-api-fastapi/</link><pubDate>Tue, 26 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/tutorials/build-rest-api-fastapi/</guid><description>&lt;p&gt;&lt;strong&gt;What you&amp;rsquo;ll build:&lt;/strong&gt; A functional REST API using FastAPI, demonstrating setup, route definition, data validation, dependency injection, and testing.
&lt;strong&gt;Time needed:&lt;/strong&gt; ~75 minutes
&lt;strong&gt;Prerequisites:&lt;/strong&gt; Python 3.8 or newer, Basic understanding of Python, Familiarity with REST API concepts
&lt;strong&gt;Version used:&lt;/strong&gt; 0.115.6&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;FastAPI is a modern, fast (high-performance) web framework for building APIs with Python 3.8+ based on standard Python type hints. It&amp;rsquo;s designed to be easy to use, highly performant, and automatically generate interactive API documentation. In this tutorial, we&amp;rsquo;ll walk through building a complete, yet simple, REST API from scratch, covering the core features that make FastAPI a joy to work with.&lt;/p&gt;</description></item><item><title>Chapter 1: Initial Project Setup and Virtual Environment</title><link>https://ai-blog.noorshomelab.dev/chat-guide/chapter-1-initial-setup/</link><pubDate>Wed, 20 Aug 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/chat-guide/chapter-1-initial-setup/</guid><description>&lt;p&gt;The first step in any robust software project is to set up a clean and isolated development environment. This chapter will guide you through creating a new project directory and establishing a Python virtual environment to manage dependencies effectively.&lt;/p&gt;
&lt;h3 id="purpose-of-this-chapter"&gt;Purpose of this Chapter&lt;/h3&gt;
&lt;p&gt;By the end of this chapter, you will have:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A dedicated project folder for your chat application.&lt;/li&gt;
&lt;li&gt;A Python virtual environment configured to keep project dependencies separate from your system-wide Python installation.&lt;/li&gt;
&lt;li&gt;Installed FastAPI and Uvicorn, the core components of our application.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="concepts-explained-virtual-environments"&gt;Concepts Explained: Virtual Environments&lt;/h3&gt;
&lt;p&gt;A virtual environment is a self-contained directory tree that contains a Python installation for a particular version of Python, plus a number of additional packages.&lt;/p&gt;</description></item><item><title>Chapter 10: Securing WebSocket Communication</title><link>https://ai-blog.noorshomelab.dev/chat-guide/chapter-10-websocket-security/</link><pubDate>Wed, 20 Aug 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/chat-guide/chapter-10-websocket-security/</guid><description>&lt;p&gt;So far, our chat application uses JWT for HTTP authentication and passes the token as a query parameter for WebSockets. While this identifies the user, the actual WebSocket data transfer is currently unencrypted (WS://). For production, all traffic, especially sensitive chat messages, &lt;strong&gt;must&lt;/strong&gt; be encrypted using WSS (WebSocket Secure), which relies on TLS/SSL certificates. This chapter focuses on enabling WSS and reinforcing WebSocket authentication.&lt;/p&gt;
&lt;h3 id="purpose-of-this-chapter"&gt;Purpose of this Chapter&lt;/h3&gt;
&lt;p&gt;By the end of this chapter, you will:&lt;/p&gt;</description></item><item><title>Chapter 2: Your First FastAPI Endpoint and Project Structure</title><link>https://ai-blog.noorshomelab.dev/chat-guide/chapter-2-fastapi-intro/</link><pubDate>Wed, 20 Aug 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/chat-guide/chapter-2-fastapi-intro/</guid><description>&lt;p&gt;With your development environment ready, it&amp;rsquo;s time to write some code! This chapter focuses on creating a minimal FastAPI application, understanding its basic components, and establishing a sensible project structure.&lt;/p&gt;
&lt;h3 id="purpose-of-this-chapter"&gt;Purpose of this Chapter&lt;/h3&gt;
&lt;p&gt;By the end of this chapter, you will be able to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Write a simple &amp;ldquo;Hello, World!&amp;rdquo; FastAPI application.&lt;/li&gt;
&lt;li&gt;Run the FastAPI application using Uvicorn.&lt;/li&gt;
&lt;li&gt;Understand basic FastAPI routing.&lt;/li&gt;
&lt;li&gt;Create a foundational project directory structure.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="concepts-explained-fastapi-basics"&gt;Concepts Explained: FastAPI Basics&lt;/h3&gt;
&lt;p&gt;FastAPI is a modern, fast (high-performance) web framework for building APIs with Python 3.8+ based on standard Python type hints. It offers:&lt;/p&gt;</description></item></channel></rss>