I'm using Next JS and the api routes to create my apis. I have 2 questions if anyone can answer.
If I want to use a utility function or global constant variables that I need to include in multiple api files where is the best place to store it in? And to import them using relative paths?
Is there an example of a Next JS project that isn't just your basic api routes tutorial to learn from in terms of folder structures?