topliceanu / mortimer Goto Github PK
View Code? Open in Web Editor NEWextendible HTTP REST interface for mongoose models
Home Page: http://topliceanu.github.io/mortimer
License: MIT License
extendible HTTP REST interface for mongoose models
Home Page: http://topliceanu.github.io/mortimer
License: MIT License
Is there a possibility to prevent certain reads/writes to certain endpoints based on the request?
E.g. how would one intercept a call to
mortimer.router(Book).bind(app);
?
I've just released a new version of this module.
I'd be very thankful for feedback from you guys. Here are tests, code coverage, examples, generated documentation....
CC @cristiandouce, @FlexMonkey, @mpal9000, @sojournerc, @minineuron, @jameswyse, @jsmarkus, @jcarty, @jerryhao, @panta, @eins78, @mrjjwright
meta
object in reponse. The reponsability to publish metadata on the endpoint should fall to the the clients of the library.patchDoc() into updateDoc()
and updateDoc() into replaceDoc()
. This way it better represents the function of the particular middleware. This leave no bias to the client when choosing how to bind these methods.PUT /<resource>/:<resource>Id
- replaces the resource completelyPATCH /<resource>
- patches all resources that match the query filtersDELETE /<resource>
- removes multiple resources matching the query filtersv1.1.0
PUT /<resource>/:id
, PUT /<resource>
, PATCH /<resource>
,DELETE /<resource>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.