FrontendStarter

Next.js Hello World

A minimal Next.js application ready to deploy on Nexlayer. The simplest way to get started with Next.js on production infrastructure.

Overview

This template is a simple Next.js hello world application, pre-configured and containerized for deployment on Nexlayer. It includes a Dockerfile and is published as a public container image, so you can deploy it immediately without building anything.

Next.jsReactDockerNginx

Deploy on Nexlayer

Make sure you have the Nexlayer MCP installed:

npx @nexlayer/mcp-install

Then ask your coding agent to deploy it:

Deploy the image ghcr.io/nexlayer/hello-world-nextjs:v0.0.1 to Nexlayer

Your agent will handle the rest — configuring the deployment, setting up the container, and giving you a live URL.

Deployment YAML

This is what the Nexlayer deployment configuration looks like for this template:

nexlayer.yaml
application:
  name: "Hello World NextJS App"
  pods:
  - name: nextjs-nginx
    path: /
    image: ghcr.io/nexlayer/hello-world-nextjs:v0.0.1
    servicePorts:
    - 80

Clone and Customize

Want to use this as a starting point for your own app? Clone the repo and make it yours:

git clone https://github.com/Nexlayer/hello-world-nextjs.git