빠르고 쉽게 api 서버를 구축할 수 있는 JSON server를 사용해보자.
npm install -g json-server
json-server --watch ./src/db/data.json --port 3001