Canvasbird / canvasboard-backend

Canvasboard Backend built on NodeJS🚀
22 stars 15 forks source link

Cleanup/Reorganize app.js #42

Open nick-w-nick opened 3 years ago

nick-w-nick commented 3 years ago

Hello, in this PR I've gone ahead and cleaned up/reorganized the app.js file.

The changes include:

I'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!

nick-w-nick commented 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.

ronaldtorres commented 3 years ago

@nick-w-nick yes! that change is more clean for me...