{"repo":"samudrajovanka/nextjs-react-query-template","free":true,"listed":false,"github":"https://github.com/samudrajovanka/nextjs-react-query-template","clone":"git clone https://github.com/samudrajovanka/nextjs-react-query-template.git","description":"Template for creating Next JS (app directory) app v14 with React Query v5 for fetching data","language":"TypeScript","stars":18,"topics":["app","nextjs","nextjs-template","react","react-query","tailwindcss","template"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"Next.js React Query Template Feature-driven Next.js 15 template with React Query, Biome, and Lefthook. Technologies - Next.js 15 (App Router) - React 19 - TanStack React Query v5 - TanStack React Form - Tailwind CSS v4 - TypeScript - Biome (lint + format) - Lefthook (git hooks) Getting Started Scripts Command Description --- --- bun dev Start development server bun build Build for production bun start Start production server bun biome:check Lint + format + organize imports bun biome:lint Lint only bun biome:format Format only bun prepare:install Install git hooks Project Structure Architecture ApiClient Class-based HTTP client with pluggable auth strategies: Default instance exported as apiClient . Feature-specific instances in features/ /api/ . Feature-Driven Each feature owns its domain logic — API calls, query hooks, types, and components are colocated: Data Flow Server components prefetch data via prefetchQuery . The HydrationBoundary serializes cache to client. Client components call useQuery and receive cached data — no duplicate requests. Atomic Design (shared/components/ only) - atoms/ — Buttons, Inputs, Typography, Badges - molecules/ — Composed atoms (SearchBar, QueryHandling) - organisms/ — Complex sections (Headers, DataTables) Feature components stay flat — no atomic nesting needed. Custom CSS Layers Split custom styles into subdirectories under styles/ and import each file into globals.css . Docs: tailwindcss.com/docs/adding-custom-styles @layer components @util","default_branch":null,"files":null,"tree":[],"storefront":"/r/samudrajovanka","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/samudrajovanka/nextjs-react-query-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}