restgen
restgen copied to clipboard
RestFul for AJAX application
Hi! Is this project still being maintained? I would like to name a small project of mine restgen too. Thanks
See details here http://stackoverflow.com/questions/17603372/express-rest-server-losing-payload-from-ember-data-put
a few things that would be nice to add to the readme: - command to start restgen after install. `npm start` ?? - instructions how to set/rename the collection -...
Ember assumes the format given here for it's REST interface http://emberjs.com/guides/models/the-rest-adapter/#toc_url-conventions Action HTTP URL Find GET /people/123 Find All GET /people Update PUT /people/123 Create POST /people Delete DELETE /people/123...
**sugestion** `http://localhost/users.json?limit=100` So 100 records are returned
### Support records related example: ``` userSchema var = new Schema ({ name: String, email: String, posts: [{type: Number, ref: 'Post'}] comments: [{type: Number, ref: 'Person'}] }); mongoose.model ('User', userSchema);...