Tools Recommended —— json-serverJinSo / Nov 6, 2022ToolscategoryWebdateNov 7, 2022iconslugtools-json-serverstatusPublishedsummaryTools RecommendedtagsToolstypePost将对应的JSON数据转换成一个 REST 风格的APIjson-serverGet a full fake REST API with zero coding in less than 30 seconds. Latest version: 0.17.1, last published: 5 days ago. Start using json-server in your project by running `npm i json-server`. There are 292 other projects in the npm registry using json-server.https://www.npmjs.com/package/json-server 使用安装:npm install -g json-server执行: json-server --watch db.json 访问 http://localhost:3000/posts/1就会得到: REST