Open xyzdata opened 7 years ago
id
uid ???
// add id to all items
// http://localhost:7777/datas/ === array
arr.map(
(data, index) => {
// data.id = ++index;
data.id = data.uid
return data;
}
);
json-server
routers