Fastapi
-
How to Use the Cool New Annotated Typing Feature of FastAPI
In the latest release of FastAPI (v0.95 at the time of writing), there is a cool new feature for adding type annotations. It is Annotated that allows you to add some metadata to your query/path parameters, headers, and even dependencies. There are many benefits of using Annotated for type annotations, including better editor support, easier-to-share… Continue reading
-
Build an Autocomplete Search Project Using Elasticsearch, FastAPI, and Angular (Part I — Backend)
Autocomplete search (search as you type) is a very user-friendly feature implemented on almost all websites providing search services. Users can see results popping up as they type. It will be easier to find the product a user is searching for and also help them correct the typos they made if no results are shown.… Continue reading
-
Build APIs with FastAPI in Python — All Essentials You Need to Get Started
Learn a modern web framework for building APIs with Python Unlike Java, Go, or NodeJS which only have one or two well-established API frameworks, there are quite a few in Python. Some well-known ones are Django, Flask, and FastAPI. And some not-so-famous ones are Falcon, CherryPy, Hug, etc. It can be a difficult choice when you… Continue reading