This example shows how to create server routes inside the server/api directory.
server/api
::ReadMore{link="/guide/features/server-routes"} ::
::sandbox{repo="nuxt/framework" branch="main" dir="examples/server/routes" file="app.vue"}