Create custom routes within Next.js using ExpressJS

Share this video with your friends

Send Tweet

Often times we need to implement specific behavior for our server when different routes are loaded. Next.js makes this extremely easy. In this lesson, we’ll begin to setup a custom server using the ExpressJS framework to redirect our current index.js page to render on our application’s /blog URL.