I am building a Next.JS app that will be getting data from a Python API and an Postgres Database.
Normally this would be simple, except requirements are such that I need
This is generally a bad idea.
The entire point of an SPA is to prevent full page loads.
You can use getInitialProps to fetch stuff while on the initial page request, and on subsequent navigations, as it is called for every page.
getInitialProps
Next is encouraging you to use an API to talk to the server