← modules / framework

Next.js

framework-nextjs

Next.js 16 (App Router) web app with a status page and a development proxy to the API

add it to a devstack project

npx create-devstack-app add framework-nextjs

requires

Environment

  • API_URL

    Where the web server reaches the API: status page and development proxy

  • NEXT_PUBLIC_API_URL

    Where the browser calls the API in production (split origin); unset uses /api