This repository contains practice materials for using React Query with a JSON server.
-
Clone this repository to your local machine:
git clone <repository-url>
-
Navigate into the project directory:
cd react-query-practice
-
Install dependencies:
npm install
-
Start the JSON server:
npm run serve-json
-
Start the React application:
npm start
-
Open your browser and navigate to http://localhost:3000 to view the application.
-
Json server running on http://localhost:4000
- Utilizes React Query for data fetching and caching.
- Mocks data with a JSON server for easy development and testing.