js-restful2.0.0 • Public • Published
Create a RESTful service with ES7 decorators for your node.js application.
npm install js-restful --save
Make sure you have a shim for es7 reflect. For example core-js or reflect-metadat.
Usage Extend your node js service class with decorators (this is TypeScript with decorators!):
Later (at runtime) you can use the parser to get back all of these information:
The result is a complete description of your Service:
Ok! But what can I do with this? Have a look at the github project js-restful-express.
This is a base project that different implementations can use to integrate this information in a concrete node js framework.