How to handle Nextjs with external REST API - Theo's Typesafe Cult