Hit the Ground Running with FastAPI!
I recently had a job interview with a company that told was building API's in FastAPI, a Python framework for building high performance, fast to code API's. From the research I did, it sounded like a it achieved a lot of the things Flask seeks to do, but faster and with an even simple way to code them. I started learning some FastAPI and coding along with the tutorial on the website found here , and I was amazed at how fast I could set up a simple API. The code I've included below is an entire API, in less than 25 lines of code. I have two get requests and a post request that even handles some data validation. Since my API is so small, you can easily run it on your machine as well provided you have Python 3.6+ running on your machine. Installing FastAPI is as simple as two pip installs (the tutorial has a way to install both at once but I ran into errors until I installed them both separately): pip install fastapi pip install uvicorn[standard...