diegohaz / rest

REST API generator with Node.js, Express and Mongoose
MIT License
1.79k stars 310 forks source link

Support for relational databases #196

Open lhnrd opened 5 years ago

lhnrd commented 5 years ago

First of all, great generator! Really fond of the structure and how it separates some concerns. I'm thinking of always adopting this structure for my future APIs, but sometimes I need to use a relational database like Postgres. I managed to remove mongo and integrate objection.js and Postgres inside the same structure, could be a way to start.

Anyway, my question is, are there any plans to support relational databases? Maybe in a different branch? I can work on a PR for this integration but first needed to know if it'd be useful.

schmanat commented 5 years ago

This would be great +1

rjimenezg commented 5 years ago

I would love to see a mySQL integration! :)