Introducing various basic patterns of app router with simplified code.
next.js authorization example including private route protection. WARNING - This is probably not a great reference in 2023 and beyond, consider using next-auth.
Hosting multiple domains on the same Next.js site (while maintaining multiple languages and SSG)
Example of a Next.js application with api routes that enable passport.js authentication and cookie sessions.