ytanaka44 / react-todoapp

0 stars 0 forks source link

json-serverの導入 #1

Closed ytanaka44 closed 9 months ago

ytanaka44 commented 9 months ago

目的

メモ

ytanaka44 commented 9 months ago

導入方法

  1. json-server のインストール
npm install -D json-server
  1. db.json の作成
  2. package.json の scripts に json-server を追記
"json-server": "json-server --watch ./src/db/db.json -p 3001"