Python - Fast API - Create your JSON API in Python in one minute
ยท 7 min read
TLDR: one minute is the time you'll need to copy/paste two files' content and to run one Docker statement.
Sounds crazy but it's TRUE. You'll just need one minute to create the example provided here below i.e. create your project's directory, create two files and run two Docker statements and ... it's done.
As PHP programmer, when I've taken time to read a blog article about FastAPI I thought Nodidju ! ร' n'est nรฉn pussibe (For Christ's sake! It can't be true).
With just two files, we'll build our own Docker image with Python and FastAPI installed and to code our REST API application. No more than two!
Impossible to not try immediately and ... wow ... that's TRUE!