Menu

1 / 3

Run multiple frameworks in one project with Vercel Services - Vercel

Vercel News·Ricardo Gonzalez·25 days ago
#bQEtkJLp
Reading 0:00
15s threshold

You can now deploy multiple frontends and backends together within a single Vercel project.

Vercel Services is now available , allowing you to deploy full stack apps with multiple frameworks on a shared domain, where services talk to each other privately and deployments build, preview, and roll back together.

Services are defined in vercel.json :

{

"services" : {

"my_frontend" : {

"root" : "frontend/" ,

"framework" : "nextjs"

} ,

"my_backend" : {

"root" : "backend/" ,

"entrypoint" : "main:app"

}

} ,

// my_backend has no public route

// it is only reachable from my_frontend internally

"rewrites" : [

{

"source" : "/(.*)" ,

"destination" : { "service" : "my_frontend" }

}

]

}

Vercel handles routing, builds, and environment variables automatically.

From there, your services show up across the dashboard and CLI:

The Deployments panel visualizes the services graph

The Logs UI filters by individual service

vercel dev runs every service locally for a production-like environment

A…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.