iBlokz / REST API 从json文件使用mongodb中间件生成rest api 安装 npm install iblokz-rest-api 基本用法 server.js // dependencies const express = require ( 'express' ) ; const mongoose = require ( 'mongoose' ) ; // rest api const restApi = require ( 'iblokz-rest-api' ) ; const restMap = require ( './rest.json' ) ; //