Walking Skeleton · Polyglot Monorepo

Rapidify Framework Template

A three-service architecture demo — a Next.js frontend communicating with Fastify (Node.js) and FastAPI (Python) backends, all running side by side.

Architecture

Requests from the Next.js frontend are proxied to the matching backend via URL rewrites.

🌐 /api/node/hello⚡ dev proxy → localhost:8001🟢 Fastify
🌐 /api/py/hello⚡ dev proxy → localhost:8000🐍 FastAPI

Tech Stack

Modern tools chosen for type safety, performance, and developer experience.

Next.js 16

App Router · React 19 · Tailwind v4

  • Server components
  • Standalone output
  • shadcn/ui

Fastify

Node.js · TypeScript · Vitest

  • Request validation
  • In-memory store
  • In-process testing

FastAPI

Python 3.12 · Pytest · Ruff

  • Auto-generated docs
  • Pydantic models
  • Uvicorn serve