ytanaka44 / react-todoapp

0 stars 0 forks source link

json-serverの導入(#1) #7

Closed ytanaka44 closed 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"
  1. api の作成
  2. types の追加

close #1