Can someone explain the difference / use cases between Nuxt server folder vs Netlify functions ?

Hi,

I want to set up an API on my Nuxt-generated site but I'm unsure how to get started.

I know that the Nuxt server folder works with $fetch() but I need to set up an API that can be called externally.

This API will likely be a middleman between the hosted domain and another API.

I've not worked with Nuxt's API or Netlify functions yet.

Is there a benefit on going with one vs the other?

Thanks,
Dave
Was this page helpful?