a smart incentive spirometer
Every endpoint can be filtered by each model param: {DESC, ASC}
//req.params.query
var query = {
limit: 10,
skip: 10,
sort: 'createdAt DESC', // modelParam | {'DESC', 'ASC'}
filter:{
obj: param
}
};
This is the Entry Model
var entryModel = {
};
This is the Member Model
var memberModel = {
};