{"library":"rest-router-model","type":"library","category":null,"description":"rest-router-model v1.9.5 is a Koa-based REST API generator that automatically creates RESTful HTTP endpoints from a JSON resource configuration, while also handling data model mapping to SQL databases via Knex. It supports PostgreSQL, MSSQL, MySQL, MariaDB, SQLite3, Oracle, and Amazon Redshift. Its key differentiator is the ability to define resource hierarchies (super) and many-to-many relationships (membership) declaratively, reducing boilerplate. The library is in maintenance mode, with last release in 2018, and requires Node >=8.9.0 and Koa. It does not support TypeScript, browser, or GraphQL.","language":"javascript","status":"maintenance","version":"1.9.5","tags":["javascript","rest","router","koa","http","middleware"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install rest-router-model","imports":["const restRouterModel = require('rest-router-model')","const restRouterModel = require('rest-router-model');","restRouterModel.koaRestRouter(resourceConfig, extendBusinesses, knexConfig, options)"]},{"cmd":"yarn add rest-router-model","imports":[]},{"cmd":"pnpm add rest-router-model","imports":[]}],"homepage":"https://github.com/keco339/rest-router-model#readme","github":"https://github.com/keco339/rest-router-model","docs":null,"changelog":null,"pypi":null,"npm":"rest-router-model","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}