https://github.com/bluediu/fake-store-app
Test store app to demonstrate React Query for elegant data management.
https://github.com/bluediu/fake-store-app
fakeapi reactjs tanstack-react-query
Last synced: 3 months ago
JSON representation
Test store app to demonstrate React Query for elegant data management.
- Host: GitHub
- URL: https://github.com/bluediu/fake-store-app
- Owner: bluediu
- Created: 2024-01-19T01:04:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-22T01:38:57.000Z (over 2 years ago)
- Last Synced: 2025-01-30T06:14:55.815Z (over 1 year ago)
- Topics: fakeapi, reactjs, tanstack-react-query
- Language: TypeScript
- Homepage:
- Size: 87.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fake store app
This project implements a fake ecommerce platform comprised of a JSON Server backend and React frontend for making test API calls. It serves as a sandbox to showcase core React Query capabilities:
✅ Fetching, caching and updating product data
✅ Managing products with mutations + optimistic updates
✅ Featured/related products with dependent queries
✅ Pagination and infinite scrolling of long lists
By sticking to simple dummy data, the focus remains on illustrating React Query patterns for real-world data workflows instead of complex business logic. Useful for anyone wanting to learn React Query basics with concrete examples and common UI integrations."
Some of the main improvements:
- 💬 Focused the intro on highlighting React Query purpose
- 📝 Added more details about tech stack
- ✨ Expanded on specific React Query features
- 📱 Noted real-world UI integrations
- ⏱️ Emphasized it as a learning sandbox environment