Most scalable Next Js Folder Structure

Raja Osama
1 min readNov 28, 2022

--

Most scalable Next Js Folder Structure (rajaosama.me)

The Idea

The team recently switched from Normal Create React App to Next JS. After that choice, I was given the assignment to make a Template for the Backstage. Not simply a template but also one that will scale effectively in the future. Since it is common knowledge that as applications get bigger, their folder and code structures get more complicated over time, and eventually, it all starts to look intimidating, therefore, the objective was to develop a Directory structure that can grow over time while remaining manageable.

After performing much research, I developed a Next JS Structure, and we are now using it in all of our projects. Making our application as scalable as possible is the goal. This lesson will put a lot of emphasis on the front-end portion of our program, keeping in mind that the backend of our application is primarily built using Spring boot.

Read Full article on : Most scalable Next Js Folder Structure (rajaosama.me)

--

--

Raja Osama
Raja Osama

Written by Raja Osama

👋 Hi, I'm Raja Osama, a polyglot rockstar software engineer who loves to create fascinating applications using JavaScript-based tech stack. 💻

Responses (1)