Hello React Router 7 from Nest!

Welcome to the react-router-nest template! This repository demonstrates how to integrate React Router 7 with a NestJS backend, leveraging server-side rendering (SSR) capabilities.

Key Integration Points:

  • NestJS Custom Server: We use NestJS's ability to serve static assets and handle dynamic requests. See the NestJS HTTP Adapter docs for more on custom server setups.
  • React Router Server Rendering: Integration relies on React Router's SSR APIs like createStaticHandler and createStaticRouter. Explore the React Router SSR Guide.
  • Vite Integration: The frontend assets are built and served using Vite, configured within the NestJS application.