Open nick-w-nick opened 3 years ago
@ronaldtorres I understand, it's just a specific practice I've adhered to for my app.js
files without any issues.
Regardless, I think the modification within the commit I just made brings it back to a cleaner state while still retaining the usage organization.
Let me know if this change works for you.
@nick-w-nick yes! that change is more clean for me...
Hello, in this PR I've gone ahead and cleaned up/reorganized the
app.js
file.The changes include:
body-parser
with the built-in express middlewarehelmet
middleware which grants automatic generic security policiesI'm planning to apply this structure to the rest of the codebase in future commits but thought I'd start with the root of the application initially.
Let me know if you need any changes/etc.
Thanks!