Gravity comes complete with a SaaS website template that you can deploy separately from your main web application.
The template is built in Next.js to empower you with server-side rendering (SSR) and enhance SEO.
Previous versions had the website templated included as separate routes the main application. This setup is still supported for now and you can choose to use the existing configuration or the new decoupled Next.js version.
The website template uses Next.js for pages and components. Integrations with the main application are via the Express.js server API, not the Next.js API.
The website will run on port 4000. You can change the port number by modifying the -p flag in package.json for the dev and/or start script(s).