Nextjs is fullstack in the sense that you write "pages" (react for the front-end) and "api" functions for the server. All you do is put these abstractions in files and Nextjs wires up the URL paths based on their file paths...
It's popularity has soared because it eliminates a lot of the routing boilerplate in react apps, and is generally quite pleasing to develop in!