CW
chris wight
9 May 2023
pretty good introduction to API concepts
This was a pretty good overview of API concepts and the use of FastAPI. It requires some extra research on FastAPI's website and other sources to get exercises in some of the lessons to work. It took me a while to figure out how to configure the WSL setup properly. File paths are important, and this isn't covered much in the lessons. For example, when installing UVICORN, there are a couple of warnings "the script uvicorn was installed (at a certain path) but this path is not in PATH". After adding the path to Ubuntu PATH, vscode pylance still does not recognize some of the Python packages. (Needed to restart vscode.) Also, UVICORN needs to be started (reloaded) in the path where the main.py exists.
Date of experience: 8 May 2023