Skip to content

Yann-GitHub/tanstack-query-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tanstack Query Playground

This project is a playground for practicing and learning Tanstack Query / React Query and Devtools associated with it. It focuses on concepts such as server state, pagination, caching, infinite fetching and scrolling... All API calls are handled by Tanstack Query using axios. The project is based on the Tanstack Query documentation.

Data Sources

The project uses the following data sources:

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js
  • npm or yarn or pnpm

Installation

  1. Clone the repo
git clone https://github.com/Yann-GitHub/tanstack-query-playground.git
  1. Install NPM packages
npm install
  1. Start the development server (runs on port 5175)
npm run dev
  1. Start the json-server (runs on port 3500)
npm run server

Built With