Currently learning NextJS and delving into the API. Within the api
folder, there is a default hello.js
file containing an export default function
that outputs a JSON response. If I decide to include another route, do I need to create a new file for it or can I simply append a new function? Ideally, I would prefer adding more functions to generate additional routes.