Code for React Query v4 (TanStack Query) Tutorial.
Change to the server
directory and install the dependencies:
npm install
Then, run the server:
npm start
Change to the website
directory and install the dependencies:
npm install
Then, run the website:
npm start
Make sure the server is running first