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.
42 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

    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
  • 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
  • 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

    Does App Platform support Next.js redirects through next.config.js?

    I'm wondering if App Platform supports Next.js redirects through next.config.js? Or if there is another way to handle SEO friendly permanent redirects through App Platform? Code example: https://github.com/vercel/next...
    Accepted Answer: Hey there! We don't currently support arbitrary redirects in App Platform unfortunately. This is something we are looking into. As a work around you could use Nginx in a Dockerfile to proxy those redirects. A bit mor...
    1 By nathansearles DigitalOcean App Platform Next.js
  • 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

    [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

    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

    NextJs App Platform outbound transfer bandwidth when application required images are stored in digital ocean space.

    I am using app platform to host my nextjs application. for image hosting, I am using digital ocean spaces droplet.i want to show images hosted in spaces in my nexjs application dynamically. but I wanted to know if I d...
    1 By dushyanthaworld Next.js DigitalOcean App Platform DigitalOcean Spaces
  • Question

    Requesting Next.js web service through public route returns 404 error on Digital Ocean App Platform

    Problem I am setting up an App Platform on Digital Ocean using a Strapi web service component as CMS and a Next.js web service component as Front-End. Strapi is accessible on the route /api and Next.js on /sporus. Acc...
    1 By TortleTurtle Next.js DigitalOcean App Platform
  • Question

    NextJS With ISR

    Hello, My plan was to setup a app platform as server on Digitalocean to host my nextjs website. Currently my site is being built with ISR (https://vercel.com/docs/concepts/next.js/incremental-static-regeneration) My q...
    0 By renewablezip01 Next.js DigitalOcean App Platform CDN
  • Question

    Accessing MongoDB hosted on DigitalOcean with Next.js Web App

    I am using Mongo URI syntax in my .env.local file: mongodb://root:<password>@<ip>:22/diversable However, this method doesn't work and here is the error code I am getting: MongoServerSelectionError: Invalid message ...
    0 By andytubeee MongoDB Next.js
  • Question

    Build error while deploying app

    Just learning DigitalOceanApp platform and javascript. I'm using an existing open source library (SignalX) and hosting in DigitalOcean app. When it's building, I see different errors which I don't see locally. Any ide...
    1 By anilkuppa Next.js Node.js DigitalOcean App Platform
  • Question

    What is the limit for Node.js fetch request / response body size and can it change it if needed?

    I have an application that converts images into a video file. For a 1 minute video it needs to send 1800 images (canvas.toDataURL()). Their size is ~200Mb in total. I know that many services limit the size of the fetc...
    1 By simzikov Next.js JavaScript Node.js