[DOCS] Improve directory structure for the app
See original GitHub issueDescription
I think it’s better and a good practice to organize directories in a self-describing manner.
Currently, we can’t distinguish between Components, Pages and Routes cos of the directory structure (i.e Everything is placed in the components
directory).
I’m suggesting we re-structure it to something like this:
src
+- app // Contains pure js files (i.e services, helpers)
+- components // Self explanatory
+- redux // Self explanatory
+- pages // Self explanatory
+- routes
-- index.jsx // Default routes would be located here. This gives us the chance to split routes i guess-ish?
-- App.css
-- App.js
-- index.js
-- index.(css|scss)
// Other config/important files goes here
I think this is somehow related to #15 , but this is more of like the directory structuring
Issue Analytics
- State:
- Created a year ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Folder structure for documentation | GitLab
Our goal is to have a clear hierarchical structure with meaningful URLs like docs.gitlab.com/user/project/merge_requests/ . With this pattern, you can ...
Read more >Create the App File Structure - Weebly Cloud
The root directory of every application contains the manifest.json file. The manifest provides the defining characteristics of the application. Backend services ...
Read more >Simplifying Google Drive's folder structure and sharing models
This simplification of Drive's folder structure and sharing models will result in a change in the way some Google Drive API endpoints behave....
Read more >Application Designer Directory Structure — ODK-X Docs
This folder has a predefined directory structure, but the content is entirely dependent upon the needs of your application. The zip file for...
Read more >Structuring Your Project - The Hitchhiker's Guide to Python
In practical terms, “structure” means making clean code whose logic and dependencies are clear as well as how the files and folders are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
noted
No someone else should