prerequisites npm install --global yarn npm install -g json-server start project yarn start start database in new terminal yarn run db