2024-01-30
3403
#nextjs
Abhinav Anshul
168468
109
Jan 30, 2024 â‹… 12 min read

How to structure scalable Next.js project architecture

Abhinav Anshul Doing interesting things on the Web.

Recent posts:

what are the event loop and call stack in JavaScript

What are the event loop and call stack in JavaScript?

Learn how the call stack, event loop, and various queues help JavaScript handle asynchronous operations while maintaining its single-threaded nature.

Ikeh Akinyemi
Feb 18, 2025 â‹… 6 min read
how and when to use JavaScript arrow functions

How and when to use JavaScript arrow functions

Arrow functions have a simpler syntax than standard functions, and there are some important differences in how they behave.

Joe Attardi
Feb 17, 2025 â‹… 5 min read
javascript is null or empty function

How to check for null, undefined, or empty values in JavaScript

In most languages, we only have to cater to null. But in JavaScript, we have to cater to both null and undefined. How do we do that?

Lewis Cianci
Feb 14, 2025 â‹… 4 min read
MERN Stack: Overview With Examples

What is the MERN stack? Overview with examples

Discover how the MERN stack (MongoDB, Express.js, React, Node.js) enables developers to build dynamic, performant, modern websites and apps.

Nefe Emadamerho-Atori
Feb 13, 2025 â‹… 20 min read
View all posts

3 Replies to "How to structure scalable Next.js project architecture"

  1. It’s all good stuff, but regarding the file structure and architecture it works until components become a big disorganized lump of everything.

    For medium to large projects, I highly recommend Feature-Sliced design: https://feature-sliced.design/

    Started using it a few months ago and it feels so much better to work with than just components, lib or hooks folders.

  2. Wow, I literally read through the whole thing, nodding along, because (except I use Cypress) we’re on the same page on everything (also node 20 by now) but got to the “integrate LogRocket” expecting the perfect integration guidance and the article just waved good-bye, jumped in an escape pod, and left me watching a 10 second ad as the pod jettisoned itself and sped away.

Leave a Reply