angular-fullstack / generator-angular-fullstack

Yeoman generator for an Angular app with an Express server
https://awk34.gitbook.io/generator-angular-fullstack
6.12k stars 1.24k forks source link

RethinkDB option? #1385

Open ButIamArobot opened 8 years ago

ButIamArobot commented 8 years ago

An option to generate with RethinkDB as an alternative to MongoDB would be greatly appreciated. (Thanks for all of your hard work!)

ddoolin commented 8 years ago

To anyone looking to attempt this: I looked into using RethinkDB pretty extensively with this generator and found an ORM for RethinkDB, Thinky, that is very similar to Mongoose and looks pretty trivial to replace with some effort.

analytik commented 8 years ago

+1 for RethinkDB

Although I would use JS-Data with RethinkDB, because it integrates nicely into Angular, and in theory, if you add validation or model methods, you could serve the same JS model definition and use it both on client and server.

I'm very new to Yeoman, so I don't dare to try a PR yet, but I'll look into it.