In this lesson, we create the nested directory server/api
to bootstrap quick support for REST API routes. Files created in this directory make api endpoints with little effort and some magic to coerce data to the proper format. Under the hood, Nuxt uses the unjs softwares Nitro and h3.
Links