TypeScript-Node-Starter icon indicating copy to clipboard operation
TypeScript-Node-Starter copied to clipboard

[feature-request] Add node-postgres support

Open pawsaw opened this issue 8 years ago • 5 comments
trafficstars

It would be great to have support for some more traditional DBMS ... maybe on a separate branch for each DBMS?

In this ticket I'd like to have postgres supported, using this great npm module:

https://node-postgres.com/

Typings dbd.

Great work by the way.

pawsaw avatar Sep 29 '17 11:09 pawsaw

I don't think that adding multiple DBMS systems in various branches is a very maintainable strategy. You would probably need to maintain that on your own, or fork it.

olivercodes avatar Sep 30 '17 22:09 olivercodes

How about a new branch where Loopback is used, so you could use whatever DBMS you felt like using?

tioback avatar Feb 01 '18 13:02 tioback

Would probably be a bit more OSS friendly to add something like knex.js/bookshelf.

olivercodes avatar Feb 02 '18 14:02 olivercodes

(not the LB isn't, I just don't think you want to tie users to a platform for a starter repo).

olivercodes avatar Feb 02 '18 14:02 olivercodes

I like the fact that this is just a starter repo, agnostic with respect to what people want to create from it. Myself, I've used it to start a few projects. Some used PostgreSQL with TypeORM and one used MongoDB (without Mongoose). But I wouldn't want that added in, because that wouldn't be fair to other people who might want to go in a different direction.

The starter repo being agnostic helps people see a clearer path to what they want to create instead of having to think about what surgery to perform on it to remove what they don't want. (at least that's my opinion, I'd love to hear others too)

mattwelke avatar Feb 02 '18 19:02 mattwelke