shlogg · Early preview
Mihail Marian @mihailthebuilder

Temporarily Storing Request Metadata In API Service With Django Ninja

Temporary storage of request metadata in API service using Django Ninja and filesystem for data aggregation.

I have an API service for a Google Sheets add-on that I built, and I wanted
to temporarily store some request metadata that I started collecting in the client.

How the add-on works. The API generates the forecast data.
The service was built with Django Ninja, and it's not connected to a database. I thought about setting one up for this feature. But I couldn't be bothered dealing with the configuration and the migrations. I wasn't sure how long I'd be collecting this data for.
I then considered dumping the metadata in the logs. The problem with that approach is that it's a hassle to aggregate...