5 ms·
Show HN: Frodo – Rails like app generator for Node.js/Express
- bshimmin 11y agoLooking at the last example, how does it know that `name` is of type String and `age` is of type Number? Should it not be $ frodo generate model user name:string age:number or something?
- benatkin 11y agoWhy does it have an IFFE on the controllers? This isn't a browser environment where we have to worry about files cluttering a global namespace. Each file is its own module where it has its own namespace. (Also this isn't needed for client-side development anymore unless you aren't using a build tool.)
- leemalmac 11y agoI'm not a JS expert. Can you suggest the better way? I know that controllers are sandboxed, but I still like to add some 'namespacing'
- tuananh 11y agowhy not use yeoman?
- trumbitta2 11y agoThe rails like app generator for Node.js/Express: http://sailsjs.org/ http://sailsjs.org/
- leemalmac 11y agoIs it pure Express without modifications? Shame to me, but I completely forgot about Sails, I knew it exists, but for some reasons I decided to use pure Express at work.