meanjs / mean

MEAN.JS - Full-Stack JavaScript Using MongoDB, Express, AngularJS, and Node.js -
http://meanjs.org
MIT License
4.87k stars 1.98k forks source link

Mean.js crud module inside sub folders(hierarchical structure) #1784

Open saurabtcs opened 7 years ago

saurabtcs commented 7 years ago

I am using Mean.js 0.4.2 version . I want to create a crud module say 'insurance', but the structure not to be generated directly inside 'modules' folder .But i want to create the crud structure inside 'modules/policies/health/insurance' . i tried few ways but none working eg : "yo meanjs:crud-module policies/health" please help me out as this is required to manage all my application modules based upon functionality .

simison commented 7 years ago

This issue should be at generator-meanjs repo. That said, sadly generator isn't really maintained very much and mean.js core is already on 0.5.0 so you might be on your own with this. :-(

mleanos commented 7 years ago

@saurabtcs This seems like a very unique requirement. Implementing this type of structure would most likely be best to "do it by hand". You can copy your own folders with "client", "server", and "tests" folders into your nested folder structure.

Without knowing too much of your requirements, I'm skeptical of the need for such a module structure. Either way, just as Mikael suggested, you may be on your own. If you run into any platform specific issues, feel free to join us in the MEANJS Gitter room.