In some web applications, we need to define a one-to-many relationship between two entities. For example, let's take github.
Example: One-to-Many relationship exists between user
and repository
. User pksunkara
have 2 repositories octonode
and hub
The entities are defined as the following:
var resourceful = require('resourceful');