Initially working with node with few file is fine like user registration + user login etc. But with the time your project grow then same repeating work do for all entity is look like pain for developer. So I just want to sharing some thought and want to get some feedback and improvement.
PrefixUserController
instead of export User
. We dont need 'require' into all my files. Can I call it auto-loading ?? May be I am wrong but most of the time I realize nodeJS require some good frameworks like other language have. ( Its my personal opinion.. :P )
Please share your thoughts + Pros and Cons + Any dev tips .
NodeJS is seriously awesome. (Crazy idea JavaScript + v8)