Run mock server with command json-server --watch db.json inside mocks directory. See https://github.com/typicode/json-server.