Skip to content
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

Modularity #82

Open
njsfield opened this issue Nov 14, 2016 · 0 comments
Open

Modularity #82

njsfield opened this issue Nov 14, 2016 · 0 comments

Comments

@njsfield
Copy link

Your server.js file requires the handler.js file which deals with the routes and logic of the server.
It may be cleared to separate the handler file into a routes file (which contains logic to handle endpoints), and have that require separate handlers. Currently this is not too much of an issue currently as the application has few endpoints, but having a single handler file in the future could be confusing to navigate through

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant