<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/frontend-clean-architecture---reactjs-nextjs--pi6enlb7p" -->

---
title: Frontend Clean Architecture - (Reactjs, Nextjs) | daily.dev
description: Simple React project structure based on Atomic Design and Clean Architecture principles, aimed at organizing folders for scalable projects. No error handling,...
canonical: https://daily.dev/posts/frontend-clean-architecture---reactjs-nextjs--pi6enlb7p
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Frontend Clean Architecture - (Reactjs, Nextjs) | daily.dev
og:description: Simple React project structure based on Atomic Design and Clean Architecture principles, aimed at organizing folders for scalable projects. No error handling,...
og:url: https://daily.dev/posts/frontend-clean-architecture---reactjs-nextjs--pi6enlb7p
og:image: https://api.daily.dev/og/posts/Pi6eNLb7P.png
og:image:alt: Frontend Clean Architecture - (Reactjs, Nextjs)
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Frontend Clean Architecture - (Reactjs, Nextjs)

**[Javascript developers](https://daily.dev/sources/javascript_developers)** · [@shpendrrustemi](https://daily.dev/shpendrrustemi) · 1 min read · 404 upvotes · 31 comments

## Summary

Simple React project structure based on Atomic Design and Clean Architecture principles, aimed at organizing folders for scalable projects. No error handling, authentication, or logic included, just a clean setup to start faster.

## Content

Hey folks 👋

Just dropped a simple React project structure based on Atomic Design and Clean Architecture principles.

It’s not a full starter kit — no error handling, auth, or logic — just a clean, organized folder setup to kick off your own scalable project.

Hope it helps someone get started faster!

⭐ Give it a star if you find it useful

https://github.com/Shpendrr/react-clean-architecture

## Community discussion

Top comments from developers on daily.dev.

**@devashish2024** · 10 upvotes

> Atoms, Molecules, Organisms........crazy!

**@husseinkizz** · 3 upvotes

> Hmm thanks for sharing but I think atoms and stuff your now just over engineering project structure and bringing in unnecessary chemistry, I have done react and frontend for some time, and my setup has evolved, and I have come appreciate simplicity as much as possible, even for complex setups....

**@llxd** · 3 upvotes

> Hey Shpend! Awesome template!
>
> I was working on an [idea](https://github.com/LLxD/rorg) that was close to that myself! Super cool to see other people noticing that there's a huge room for improvement here!
>
> I'd love for you to take a look at my take on that (and possibly even contribute to it with your folder structure too!)
>
> Thanks and see ya :)

**@arimiller** · 3 upvotes

> Cool project!
>
> Title says "Nextjs" but I don't see Nextjs in the repo. Was curious to your thoughts on pages/routes as it related to the nextjs routing setup. Thoughts...?

**@alessandro15** · 2 upvotes

> I like the concept however I tend to create a folder for every page with components, logic and models and also have a common folder with the same sub-folders in the root to access common components, logic and data models.
>
> This is made to prevent losing time on looking for specific modules around folders and sub-folders.
>
> Keeping code feature oriented is way faster and cleaner in the end result. (or at least that's what my experience taught me!)

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#react](https://daily.dev/tags/react), [#architecture](https://daily.dev/tags/architecture), [#frontend](https://daily.dev/tags/frontend)

[View this post on daily.dev](https://daily.dev/posts/frontend-clean-architecture---reactjs-nextjs--pi6enlb7p)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/frontend-clean-architecture---reactjs-nextjs--pi6enlb7p","headline":"Frontend Clean Architecture - (Reactjs, Nextjs)","text":"Simple React project structure based on Atomic Design and Clean Architecture principles, aimed at organizing folders for scalable projects. No error handling, authentication, or logic included, just a clean setup to start faster.","url":"https://daily.dev/posts/frontend-clean-architecture---reactjs-nextjs--pi6enlb7p","datePublished":"2025-03-23T18:06:08.018Z","dateModified":"2025-03-23T18:06:17.822Z","author":{"@type":"Person","name":"Shpend Rrustemi","url":"https://daily.dev/shpendrrustemi","image":"https://avatars.githubusercontent.com/u/104890083?v=4","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":860}},"image":"https://media.daily.dev/image/upload/s--17syFXJo--/f_auto/v1742753168/posts/Pi6eNLb7P","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":404},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":31}],"comment":[{"@type":"Comment","text":"Atoms, Molecules, Organisms…crazy!","datePublished":"2025-03-24T06:22:32.696Z","url":"https://daily.dev/posts/Pi6eNLb7P#c-X2tZr5eOw","author":{"@type":"Person","name":"Ashish Agarwal","url":"https://daily.dev/devashish2024","image":"https://media.daily.dev/image/upload/s--3FV5ETL---/f_auto/v1735125939/avatars/avatar_XLZc7M8MmTf4WLSXLj3RR"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":10}},{"@type":"Comment","text":"Hmm thanks for sharing but I think atoms and stuff your now just over engineering project structure and bringing in unnecessary chemistry, I have done react and frontend for some time, and my setup has evolved, and I have come appreciate simplicity as much as possible, even for complex setups…","datePublished":"2025-03-25T13:04:29.842Z","url":"https://daily.dev/posts/Pi6eNLb7P#c-pFTPZOqST","author":{"@type":"Person","name":"Hussein Kizz","url":"https://daily.dev/husseinkizz","image":"https://media.daily.dev/image/upload/s--bqCp79lk--/f_auto/v1704865561/avatars/avatar_WgJOIEdxX"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}},{"@type":"Comment","text":"Hey Shpend! Awesome template!\nI was working on an idea that was close to that myself! Super cool to see other people noticing that there’s a huge room for improvement here!\nI’d love for you to take a look at my take on that (and possibly even contribute to it with your folder structure too!)\nThanks and see ya :)","datePublished":"2025-03-24T16:16:50.780Z","url":"https://daily.dev/posts/Pi6eNLb7P#c-QAOK6ZRfQ","author":{"@type":"Person","name":"Lucas Lima","url":"https://daily.dev/llxd","image":"https://avatars.githubusercontent.com/u/48529975?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}},{"@type":"Comment","text":"Cool project!\nTitle says “Nextjs” but I don’t see Nextjs in the repo. Was curious to your thoughts on pages/routes as it related to the nextjs routing setup. Thoughts…?","datePublished":"2025-03-24T13:09:03.611Z","url":"https://daily.dev/posts/Pi6eNLb7P#c-e4TZSYW8b","author":{"@type":"Person","name":"Ari Miller","url":"https://daily.dev/arimiller","image":"https://avatars.githubusercontent.com/u/11488762?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}},{"@type":"Comment","text":"I like the concept however I tend to create a folder for every page with components, logic and models and also have a common folder with the same sub-folders in the root to access common components, logic and data models.\nThis is made to prevent losing time on looking for specific modules around folders and sub-folders.\nKeeping code feature oriented is way faster and cleaner in the end result. (or at least that’s what my experience taught me!)","datePublished":"2025-03-25T22:14:22.813Z","url":"https://daily.dev/posts/Pi6eNLb7P#c-BPH63Bjwj","author":{"@type":"Person","name":"Alessandro","url":"https://daily.dev/alessandro15","image":"https://media.daily.dev/image/upload/s--b9_XZ3kr--/f_auto/v1748461930/avatars/avatar_Pn0Z4rf5UpHin3CkjqDhW?_a=BAMClqUq0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/javascript_developers","name":"Javascript developers"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Javascript developers","item":"https://daily.dev/squads/javascript_developers"},{"@type":"ListItem","position":3,"name":"Frontend Clean Architecture - (Reactjs, Nextjs)"}]}
```

