Tech TutorBangla Web Documentation
Portfolio
HomeHTMLCSSTailwind CSSJavaScriptTypeScriptReactNext.jsNode.jsExpressSocket.IOExpoWordPressPostgreSQLPrismaPostgresNestJSMongoDBDockerTanStackTanStack TableRTK QueryGitGitHub
  • TanStack Documentation42টি অধ্যায়
প্রযুক্তি নির্বাচন
HomeHTMLCSSTailwind CSSJavaScriptTypeScriptReactNext.jsNode.jsExpressSocket.IOExpoWordPressPostgreSQLPrismaPostgresNestJSMongoDBDockerTanStackTanStack TableRTK QueryGitGitHub
  • Project Overview
  • Architecture
  • Folder Structure
  • Setup Next.js
  • Axios Setup
  • API Client
  • API Types
  • Query Install
  • Query Provider
  • Query Keys
  • Data Fetching
  • States
  • Devtools
  • Create Mutation
  • Update Mutation
  • Delete Mutation
  • Cache Invalidation
  • Optimistic Update
  • Pagination
  • Search
  • Filtering
  • Sorting
  • TanStack Table
  • Table Explore
  • Table Columns
  • Table Actions
  • React Hook Form
  • Zod Validation
  • Create Form
  • Edit Form
  • Dialog Modal
  • Delete Confirmation
  • Complete CRUD Flow
  • Full Integration
  • Error Handling
  • Loading States
  • Reusable Components
  • Production
  • Complete Project
  • Common Mistakes
  • Best Practices
  • Interview Q&A
  1. Docs
  2. TanStack
  3. Complete Project — সব snippet
TanStackAdvanced

Complete Project — সব snippet

পুরো Project-এর সংক্ষিপ্ত tour — folder structure, প্রতিটি file-এর কাজ — বাংলায়।

7টি অংশবাংলা ভাষায়

একবারে-একবার পুরো প্রজেক্ট দেখে নেওয়া যাক — কোথায় কী থাকে। প্রতিটি folder/file-এর ভূমিকা এক নজরে:

final folder structuretext
text
src/
├─ app/
│  ├─ layout.tsx            # Providers wrap
│  ├─ page.tsx              # landing
│  └─ products/
│     └─ page.tsx           # dashboard (client)
├─ components/
│  ├─ ui/                   # shadcn (button, table, dialog …)
│  └─ products/
│     ├─ product-filters.tsx
│     ├─ product-list.tsx
│     ├─ product-columns.tsx
│     ├─ product-table.tsx
│     ├─ product-form.tsx
│     ├─ create-edit-dialog.tsx
│     └─ delete-alert-dialog.tsx
├─ lib/
│  ├─ axios.ts              # instance + interceptors
│  ├─ query-client.ts       # QueryClient+ defaults
│  ├─ query-keys.ts         # productKeys hierarchy
│  ├─ products-api.ts       # API functions + types
│  ├─ validators/
│  │  └─ product-schema.ts  # zod
│  └─ hooks/
│     ├─ use-debounce.ts
│     ├─ use-products.ts
│     └─ use-product-mutations.ts
└─ types/
   └─ product.ts            # shared types

শুরু থেকে শেষ: ক্রম

  1. types/product.ts — model + API shapes
  2. lib/validators/product-schema.ts — zod
  3. lib/query-client.ts + lib/axios.ts — setup
  4. lib/query-keys.ts + lib/hooks/* — query layer
  5. components/products/* — UI
  6. app/products/page.tsx — composition

সম্ভাব্য টুইট

  • useProducts-এ enabled flag (focus/search এড়ায় আলতো fetch)
  • server-side initialData seed (SSR)
  • URL searchParams sync (shareable filters)
  • row selection (bulk delete)
আর এটাই basis

এটা সাদা 'reference implementation'। এ-কাঠামোতে আরো feature (bulk, export, drag-sort) যোগ করা যায় — প্রতিটি _এখানেই TanStack pattern-ই অনুসরণ করে।

শেষ প্যারায় নিজে practice করুন — কোড কপি করে নিজের এডিটরে চালিয়ে দেখুন।
আগেরProduction ArchitectureপরেরCommon Mistakes — বাংলায়
এই পেজে
Tech Tutor

বাংলায় ওয়েব ডেভেলপমেন্ট ডকুমেন্টেশন শিখুন — ধাপে ধাপে।

Homeসব ডকুমেন্টেশনQuick Startআমার নোটস

© 2026 Tech Tutor. বাংলায় শিখুন, বাংলায় গড়ুন।

mdanamolhasan1998@gmail.com