Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3655

Sequelize REST API generator

$
0
0

I am developing a Nodejs application and my database is Postgres and I am using Sequelize as my ORM because of its excellent support for migrations.

I am on the lookout for a good REST API generator based on the schema I have defined. There are two main hurdles I am facing and they are that the generators don't do a good job of creating association API routes and lack of ACL support.On the associations front, my schema has multiple levels of association i.e. for example..

Student.hasMany(Courses);Courses.hasMany(Subjects);

So ideally the generated REST API should be something like

/student/:student_id/course/:course_id/subject/:subjectId

I found a few projects that are doing this, but are incomplete.

Is there any module that supports this?


Viewing all articles
Browse latest Browse all 3655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>