-
mkcert
A simple zero-config tool to make locally trusted development certificates with any names you'd like.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
It works! But over "http" 🙄 this won't do in production. We need HTTPS in production. If you want to learn more about how HTTPS works, I will be writing another article here. To get HTTPS we need to install mkcert. Mkcert is a free way to get a self signed certificate for your app so it can run over HTTPS. Install mkcert using Chocolatey
Open the fastapi-https folder in VSCode and create a directory app which will contain our FastAPI application in app/main.py. Also create a file server.py to run our Uvicorn server and use it to serve our FastAPI app. So your directory structure should look like this: