marmelab / admin-on-rest-demo

Source of the admin-on-rest react.js demo, using a dummy REST service powered by FakeRest
https://marmelab.com/admin-on-rest-demo/
331 stars 181 forks source link

What is the folder structure philosphy? #16

Closed daumann closed 7 years ago

daumann commented 7 years ago

Hi @fzaninotto and congrats to this awesome framework! Could you say a few words about how you approach folder structure in this demo application?

I am a bit confused because I don't see the usual React/ Redux folders containers, components, reducers, ... etc.

Adding a paragraph to the README would probably be best.

I am happy that I found this framework last night... will save me a lot of time ;-)

djhi commented 7 years ago

Hi, this article from our blog should answer your question: https://marmelab.com/blog/2015/12/17/react-directory-structure.html.

In a nutshell, we prefer to structure things by domain rather than technical uses

daumann commented 7 years ago

@djhi exactly what I was looking for, thanks!