-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve project structure #1958
Comments
For what it's worth, we did put some thought into the current structure, and documented it in our contributor guidelines. This is not to say our structure will never change, but rather we intentionally grouped code into feature modules at the root level of the project. When viewing the root level of the project, you can see our feature modules such as dashboard, catalog, api, etc. We also started using ES2015 import/exports, but have not transitioned to a fully modular structure. In the long run, we have envisioned that each of these modules, outside of core, might end up as its own NPM package. |
I understand, but still it seems to much for the root directory. What about moving all modules into a |
Sure, we might even convert the modules to git submodules. A 'grand vision' would be to architect Apinf in a similar manner to Drupal, where each feature is a module and can be managed from a 'Modules' administrative view. The NodeRed platform has a similar module management UI, including fetching and installing modules from NPM.: |
wow |
The current project filesystem has about 30 directories and does not seem to follow any guideline. This makes the code difficult to understand and evolve. The meteor website has some guidelines to structure a meteor app using ES 2015 modules, but there might be other good ways as well.
What I envision for tidying up the filesystem is:
The text was updated successfully, but these errors were encountered: