json-server database using preliminary study

Study notes:

  To quickly provide a restful API by json-server interfaces  

The basic use of // json-server:
// 1 npm install -g json-Server
// 2 Prepare yourself a json file (file name .json), the file is your data
// 3 json-server --watch file name .json

Routing rules?

Guess you like

Origin www.cnblogs.com/zhou-135/p/11605020.html