Skip to content

pobing/json-server-custom-routes-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-server-custom-routes-demo

基于json-server 的 restful api services

Usage:

npm install -g json-server

直接使用json-server 运行

json-server db.json -r routes.json -p 5000

基于json-server 自定义的route 如下执行:

node server.js

About

json-server custom routes api services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published