Next.js

Next.js is one-of-a-kind framework built on top of React. It lets you build React apps quickly because it comes with features like Image Optimization, Zero Config, Incremental Static Generation, File-system Routing, Code-splitting and Bundling and more.

Next.js subscription active
You will receive email notifications for new publications on Next.js.
33 Results
  • Tutorial

    How To Deploy a Next.js App to App Platform

    In this tutorial, you will deploy a Next.js application to DigitalOcean's App Platform using a Static Export and a Custom Server.
    By Chris Sev DigitalOcean App Platform Node.js JavaScript Development Deployment Next.js
  • Tech talk

    Build a Fullstack App With Strapi and Next.js

    Build an API and frontend in less than an hour using Strapi as your backend and Next.js as your frontend.
    By Chris Sev Next.js Strapi Tech Talks
  • Tech talk

    Getting Started With Next.js

    Learn why so many React developers are switching to using Next.js, an open source framework that helps you build production-grade React applications that scale.
    By Chris Sev Tech Talks JavaScript React Next.js
  • Tech talk

    Next.js Authentication

    Learn how to authenticate your Next.js apps using NextAuth.js, an open source authentication tool that's flexible, easy to use, and secure, while using Postgres as your database.
    By Chris Sev Tech Talks Next.js JavaScript DigitalOcean Managed PostgreSQL Database
  • Tech talk

    All the Ways to Generate a Next.js Site

    See Next.js' many great features that make creating a website, blog, or application seamless and fast.
    By Chris Sev Next.js React JavaScript Tech Talks
  • Tutorial

    How To Render CSS on React App Servers

    In this article, we will go over the challenges of rendering CSS on the server and then demonstrate how we can overcome these challenges using styled-components and styled-jsx on a Next.js project.
    By Chris Nwamba JavaScript Next.js React
  • Question

    [App PLatform] Billing for internal service

    If I create an internal service on the App Platform via the App Spec for my api and a Next ssr component as my frontend, I will be billed for the bandwidth only once right? I realise that the data from the api will be...
    Accepted Answer: Hi there, I believe that it does not. As according to the documentation, only data transfer on the public network interface counts against your bandwidth allowance. https://www.digitalocean.com/docs/billing/bandwidth/...
    1 By thecertnginx DigitalOcean App Platform Next.js API
  • Question

    Setting up Ghost CMS on a subdomain of domain managed by Vercel nameserver

    Hello, I am currently running a Next.js frontend deployed to Vercel, and I am using the Vercel nameservers to manage the domain. Now, I want to deploy Ghost CMS to a DigitalOcean droplet on a subdomain, and thus have ...
    Accepted Answer: Hello, I believe that it is important to do the process in a specific order, what I could suggest is doing is: First create the Ghost Droplet and note down the IP address Then go to your Vercel's DNS zone and add the ...
    1 By jmilldotdev Ghost Next.js
  • Question

    AppPlatform provides access to filesystem for NextJs with webservice for ISSG for caching?

    Hello, I would like to as if someone using AppPlatform web service for nextjs issg data fetching can confirm that AppPlatform give access to filesystem where next server is able to write generated pages and json files...
    Accepted Answer: 👋 @talenthem If you're hosting your NextJS application as a Web Service then you will have a filesystem that you can use ISSG against. I would like to highlight that this filesystem is ephemeral and is lost between d...
    1 By talenthem Node.js Deployment Development JavaScript DigitalOcean App Platform Next.js
  • Question

    Host blog as a subdirectory

    Hello, I have a static NextJS blog that I would like to host on the subdirectory of my main site. Like this: example.com/blog. I've tried uploading the files and creating a location block like this: ``` location /blog...
    Accepted Answer: Hi there, With Next.js, you need to start your node service on a specific port like <^>3000<^> for example with npm run. And then you could use Nginx as a reverse proxy to that port with the following configuration: ...
    2 By evalo01 Nginx Next.js
  • Question

    How to access index.js on NextJS/Strapi

    Hi, I am new to digital ocean/strapi and NextJS! I have created a strapi droplet and created a nextjs app. I can access strapi fine straight from the ip address, but cannot see how to access the nextjs app index.js....
    Accepted Answer: Hi, Thanks for the response. The answer turns our to be straight forward. When the Strapi droplet is created, port 3000 (used for NextJS) is blocked. So all that is needed is to open the port using 'ufw allow 3000'...
    2 By netsidedeveloper Strapi Next.js
  • Question

    App connected to GitLab doesn't pull latest commit on deployment

    I have a DO App that is deploying a static site connected to GitLab. If I manually trigger a deployment it doesn't pull the latest commit. It appears to be pulling the commit that was used for the initial deployment w...
    Accepted Answer: Hello, this should be resolved now.
    4 By phegman DigitalOcean App Platform Next.js
  • Question

    Are you going to record it?

    Hello! I'd like to attend but I can't due to my job. Are you going to record it and publish it later to see it deferred? Thanks!
    Accepted Answer: Hi there @javierlatorrep, Yes, there will be a recording of the talk, and you will be able to find the video on the same page. I hope that this helps! Regards, Bobby
    2 By javierlatorrep Strapi Next.js
  • Question

    Hi! Admin password reset

    Hi! I created a droplet a few months ago, disabled the root access and created a admin user instead. Now i made so changes to the project and wants to update it. The admin password is not working. Also the root passwo...
    1 By Kishon Deployment DigitalOcean Next.js Ubuntu
  • Question

    Out of memory on building simple Next app

    I spent a day getting out of memory error building Next app from Dockerfile. It is a small app with a few pages. However, removing Dockerfile and let the app built with Buildpack results in successful deployment What ...
    2 By chatpong DigitalOcean App Platform Next.js Docker
  • Question

    How to allow users to add their own custom domains?

    I am using Next.js and I want to give my users the ability to add their own custom domains. For example, my app is hosted on DigitalOcean with domain 'https://app.com' and the user, say John, page is 'https://app.com...
    1 By powimujube DigitalOcean DNS Next.js Node.js JavaScript Apache
  • Question

    How to deploy next js and django in same droplet

    Hi. I have created a website. I have django rest framework for backend. Django has nothing to do with the frontend. It only provides API.I use nextJS for frontend. Now, I need to deploy this. I need the django and nex...
    1 By vashokkumar600 Django Next.js React Node.js
  • Question

    How to run an npm script after deploy having `DATABASE_URL` being accessible in App Platform?

    I have a node (nextjs) app that I'm trying to deploy to App Platform, the problem that I'm facing is that I have a migration script (in package.json) that needs access to DATABASE_URL, which if I'm reading correct won...
    1 By dimitrov2k Next.js Node.js JavaScript DigitalOcean
  • Question

    nextjs fetch data from backend

    im using nexjs along with redux and im trying to fetch data from backend api which is running on port 5000. and my nextjs app on port 3000. i tried module rewrite but its not working. productActions.js: ``` import axi...
    0 By shanks218 Next.js
  • Question

    App Platform: Not found sub static pages

    I have this NextJS static site with 3 pages (/, /sub/page1, /sub/page2). It all works on local machine, and saw those 2 sub pages in build logs. [2021-08-09 20:55:04] Page Size First ...
    1 By 1776 Next.js React DigitalOcean App Platform Node.js