Proof of concept for building app with multiple serverless function on vercel
Validate multiple serverless functions and advantages of different technology stacks
Check out Serverless Functions Overview | Vercel Docs for more details.
Initially, using src/app directory failed, serverless function API proxy and custom directory support was not available.
Therefore, I switched to a structure similar to the rust-runtime demo. and for now, I am testing WebAssembly.
The reason for the directory( /api, /pages/api, /fn ) is to find a way to combine multiple serverless functions, and I am still trying and waiting for more possibilities.
Or
Check out Deploying GitHub Projects with Vercel for more details.