FastAPI MVC CRUD Build Setup
Setup
In this lesson, you’ll start building a FastAPI MVC CRUD application. Each subsequent lesson will add functionality to this application, so you’ll revisit this repository frequently.
1: Create the project directory
- Open your terminal application.
-
Navigate to your
~/lessonsdirectory:cd ~/lessons -
Create a new directory called
python-fastapi-mvc-crud-buildand navigate into it:mkdir python-fastapi-mvc-crud-build cd python-fastapi-mvc-crud-build
2: Install dependencies
-
Use
pipenvto set up a virtual environment and install the required dependencies for FastAPI and Uvicorn:pipenv install fastapi uvicorn
3: Open the Project in VS Code
-
Open the directory in Visual Studio Code to begin working:
code .