-
In Blog folder:
npm install
npm start
-
In Blog-api folder:
npm install
npm run db
-- To start JsonServernpm run tunnel
--To start ngrok (a module to run the database outside the local machine to fetch)
Make sure to paste the url of ngrok which will be in terminal to paste in the blog/src/api/JsonServer.js.