Back to Browse

FastApi: Live implementation & Debugging python code with PyCharm and VS Code IDE

7.6K views
Jun 8, 2022
22:03

In this live implementation you will see how to write the base getting started FastApi code on both PyCharm and Visual Studio Code IDE. As a bonus you will learn integrating uvicorn based debugger support on both PyCharm and VS Code IDE. In this tutorial we are covering the following 3 Python Concepts: - FastApi Getting starting Code - Setting up debugger with PyCharm - Setting up debugger with VS Code GitHub URL: https://github.com/prodramp/python-projects/tree/main/FastApiQuickStart ▬▬▬▬▬▬ ⏰ TUTORIAL TIME STAMPS ⏰ ▬▬▬▬▬▬ - (00:00) Tutorials and content intro - (01:36) Creating Python application in PyCharm - (01:48) Setting Python 3.9 interpreter - (02:10) Adding main application code i.e. app.py - (02:24) FastApi specific python packages - (02:47) ASGI gateway initialization code with app - (03:26) Mounting "static" folder with app - (03:40) Creating templates folder with index.html - (05:02) Setting Jinja2 templates with app - (05:42) Creating main entry point in application - (06:40) Runtime Configuration Setup - (07:13) Running application first time - (07:34) Binding index.html with route '/' - (10:00) Adding GET based /hello api endpoint - (10:56) Setting Python Debugger with PyCharm - (12:15) Running FastApi debugger with PyCharm - (13:11) Setting port in the debugger for FastApi - (13:55) Opening FastApi project in VS Code - (15:13) Setting Python 3.9 Interpreter - (16:35) Adding Run and Debug configuration - (17:17) Testing code first - (18:12) Setting FastApi Debugger with VS Code - (20:22) GitHub repo with the code and instructions Connect ------------------ - Prodramp LLC (@prodramp) - Website - https://prodramp.com - LinkedIn - https://www.linkedin.com/company/prodramp - GitHub- https://github.com/prodramp/ - AngelList - https://angel.co/company/prodramp - Facebook - https://www.facebook.com/Prodramp Content Creator: Avkash Chauhan (@avkashchauhan) - https://www.linkedin.com/in/avkashchauhan - https://twitter.com/avkashchauhan Tags: #python3 #fastapi #programming #ai #ml #prodramp #avkashchauhan #pycharm #vscode #python3 #pandas #numpy

Download

1 formats

Video Formats

360pmp433.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

FastApi: Live implementation & Debugging python code with PyCharm and VS Code IDE | NatokHD