Folder Structure #47
FdezAriasSara
started this conversation in
Ideas
Replies: 2 comments
-
Looks very good! Gracias Sara. |
Beta Was this translation helpful? Give feedback.
0 replies
-
IMPORTANT: index.js needs to be outside any folder in /src , or npm start won't work |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi ~everyone sorry for so much activity, but we need to decide the folder structure of the project.
I suggest the following:
-components folder: It will contain all elements that can be reusable : for example, Headers , sidebars...
-views : Will contain specific frontend views: LoginView, FriendsView....
-handlers : classes related to business logic
-models: files containing the classes of the objects of the app
-util : any utilities like data parsers, checks.. that can be used all over the app
I also changed the name userView to mapView in my proposal so its less confusing
I think we should also use file naming conventions in order to avoid further problems like this
Here's the final look after all of the above.
of course feel free to tell whatever you disagree with :)
Beta Was this translation helpful? Give feedback.
All reactions