ndelvalle/generator-api

Models file naming

gillchristian opened this issue · 2 comments

This is how model files are named now:

└───model/
    ├───user/
        └───user-controller.js
        └───user-facade.js
        └───user-router.js
        └───user-schema.js

I was just wondering since the directory already is named after the model, I think it would make sense to remove the model name from the files:

└───model/
    ├───user/
        └───controller.js
        └───facade.js
        └───router.js
        └───schema.js

What do you think @ndelvalle ?

Hey @ndelvalle, I'm not sure if you want to go with this, I created the PR #33 in order to fix it.

Close in favor of #33