Skip to content

diploi/component-nextjs

Repository files navigation

icon

Next.js Component for Diploi

launch with diploi badge component on diploi badge latest tag badge

Launch a trial, no account needed https://diploi.com/component/next

Uses the official node Docker image.

Operation

Getting started

  1. In the Dashboard, click Create Project +

  2. Under Pick Components, choose Next.js

    You can add other frameworks from this page if you want to create a monorepo application, eg, Next.js + Bun for backend.

  3. In Pick Add-ons, select any databases or extra tools you need.

  4. Choose Create Repository so Diploi generates a new GitHub repo for your project.

  5. Click Launch Stack

Check the guide https://diploi.com/blog/hosting_nextjs_apps

Development

Will run npm install when component is first initialized, and npm run dev when deployment is started.

Production

Will build a production ready image. Image runs npm install & npm build when being created. Once the image runs, npm start is called.

Links