vercel-services

Installation
SKILL.md

Vercel Services

This starter deploys a Next.js frontend and FastAPI backend as one Vercel project using Services. Keep the repo as a single deployable unit with shared environment variables, one deployment URL, and path-based routing.

Project model

  • Frontend service: frontend/, Next.js, mounted at /.
  • Backend service: backend/main.py, FastAPI, mounted at /api.
  • Browser calls should use relative paths such as fetch("/api/chat"); do not hard-code localhost or a separate backend domain.
  • Backend routes are written relative to the backend app. For example, @app.post("/chat") is reachable at /api/chat because Vercel adds the service prefix.

Required Vercel configuration

Define services in the root vercel.json with experimentalServices and mount:

Installs
1
GitHub Stars
3
First Seen
1 day ago
vercel-services — vercel-labs/nextjs-fastapi-chat-app-starter