WEBVTT

ï»¿1
00:00:01.167 --> 00:00:05.422
this time, we will use fastapi to build a simple backend server.  

2
00:00:07.173 --> 00:00:09.926
we will follow the official documentation.  

3
00:00:22.647 --> 00:00:26.443
activate the previously created conda virtual environment.  

4
00:00:31.823 --> 00:00:34.951
install fastapi inside the virtual environment.  

5
00:00:48.965 --> 00:00:51.843
open a code editor in the current directory.  

6
00:00:55.972 --> 00:00:59.851
create an `app` folder and add a `main.py` file inside it.  

7
00:01:07.150 --> 00:01:11.196
copy the basic example provided in the official documentation.  

8
00:01:15.992 --> 00:01:20.038
install the `black formatter` extension for python formatting.  

9
00:01:24.292 --> 00:01:26.127
since i use `cursor ai`,

10
00:01:26.336 --> 00:01:33.676
i will create a `settings.json` file inside the `.vscode` folder and add configuration for `black formatter`.  

11
00:01:35.929 --> 00:01:38.890
i have disabled auto-formatting on file save.  

12
00:01:46.481 --> 00:01:49.109
now, let's start the development server.  

13
00:02:09.754 --> 00:02:16.469
open a browser and verify that the basic example from the official documentation is working correctly.  
