Next.js Discord

Discord Forum

Custom export function for an API

Unanswered
Serengeti posted this in #help-forum
Open in Discord
SerengetiOP
Hi, I am trying to create a function to do the following;

1. Run an export process - This process will export survey data in a zip folder
2. Download the zip folder
3. Extract files and display some stats on a dashboard.

The API provides endpoints for exporting the data.

How would I structure my files and functions so that this is executed on a periodical basis?

0 Replies