3

Is there any node.js module which would provide full REST api sequelize?

Which must follow associations, so for example if I have tables testsuites (hasMany testcases) and testcases, than the api will allow me to do: get /api/testsuite/1/testcases and it will do all the magic for me?

I checked sequelize-restful, but does not seems to work this way :(

4

1 回答 1

0

请参阅下面的库可以帮助您生成带有 sequelize 的 REST API

1. https://github.com/dchester/epilogue 2. https://github.com/sequelize/sequelize-restful

示例:https ://github.com/pjanaya/nodejs-express4-sequelize-restful

于 2015-07-17T09:48:03.630 回答