You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want it to demonstrate a way of structuring applications that's not stupid but also not too opinionated / bullshit.
It would be good to get some eyes on it.
@Matt-Esch you had some opinions about structuring applications as standalone feature folders. I tried to structure it like that, would love to hear about the good & bad.
@thlorenz you had some opinions about structuring larger apps as modules. I tried to structure it like that, would to love to hear about the good & bad
So in general the structure is fine. It would be nice to get this example to the point of production readiness as I think it is lacking some things at the moment.
An example "domain" i.e. a fat business logic require, for completeness
Integrate domains and clustering of the routes, since everyone should want to do this
Add a reasonable error handling and logging mechanism, again because everyone should want to do this
Not mutating the config, but creating a deps objects with config as a property plus the additions
Demonstrate environment based switching, helpful for people with different dev/production configs (for things like oauth) or persistence strategies (useful to Azure devs)
Activity
Matt-Esch commentedon Dec 7, 2013
So in general the structure is fine. It would be nice to get this example to the point of production readiness as I think it is lacking some things at the moment.
Raynos commentedon Dec 7, 2013
@Matt-Esch
Raynos commentedon Dec 7, 2013
@Matt-Esch do you want to make PR demonstrating logging & error handling ? (maybe consider using
bunyan).Would you also like to PR a new clustering example?