FastApi: Live implementation & Debugging python code with PyCharm and VS Code IDE
Prodramp
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)
Tags: #python3 #fastapi #programming #ai #ml #prodramp #avkashchauhan #pycharm #vscode #python3 #pandas #numpy ... https://www.youtube.com/watch?v=49j53WPFFZk
2022-10-11
0.0 LBC
Copyrighted (contact publisher)
105215573 Bytes