Comment Comment by Jestar342 Serverless web apps.Using their own Next.js as an example: everything in /pages/ is client app, everything in /api/ is serverless app.Client talks to the /api/ endpoints, /api/ endpoints talk to your domain services.Vercel also provide edge-location hosting and caching. parent Jestar342 5 years ago
Using their own Next.js as an example: everything in /pages/ is client app, everything in /api/ is serverless app.
Client talks to the /api/ endpoints, /api/ endpoints talk to your domain services.
Vercel also provide edge-location hosting and caching.