Uploaded December 2024 | Updated November 2026, 3 hours ago
Learn how to search in Next.js with Drizzle ORM SQL database queries and next/form. We will add search features for customers and tickets and learn how the Next.js Form component works with search params.
β Use the code "davegray" for 3 months free on the Team plan of Sentry for any new accounts:
- Sentry Homepage: bit.ly/sentry-dg
- Sentry Sign-up: bit.ly/try-sentry-dg
- Sentry Next.js: bit.ly/sentry-nextjs-dg
- Sentry Next.js Docs: bit.ly/sentry-docs-dg
π₯ Neon Postgres: https://fyi.neon.tech/davegray
π Kinde Auth: kinde.com/dgray-nextjsstack
π Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
π Support me on Patreon β patreon.com/davegray
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Ask Questions & Discuss on Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Next.js Full Stack Project playlist: youtube.com/playlist?list=PL0Zuz27SZ-6PCLz7VMP2QQdeKa83rshe5
π Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Course Resources: github.com/gitdagray/nextjs-full-stack-project
Search in Next.js with Drizzle ORM | Nextjs Full Stack Project
(0:00:00) Intro
(0:01:03) Tech Stack
(0:01:23) User Stories Checklist
(0:02:26) SearchButton component
(0:05:03) Customer Search Form
(0:08:25) Customer server component
(0:11:11) Drizzle Query: getCustomerSearchResults
(0:17:26) Testing Customer Search Results
(0:19:05) Ticket Search
(0:34:38) Improving Navigation
π Tutorial References:
π Next.js: nextjs.org
π ShadCN/ui: ui.shadcn.com
π Sentry Next.js: bit.ly/sentry-nextjs-dg
π Tailwind CSS: tailwindcss.com
π TypeScript: typescriptlang.org
π Drizzle ORM: https://orm.drizzle.team/
π Neon Postgres: https://fyi.neon.tech/davegray
π Kinde Auth: kinde.com/dgray-nextjsstack
π next-safe-action: https://next-safe-action.dev/
Was this Next.js search form tutorial with Drizzle and next/form helpful? If so, please share. Let me know your thoughts in the comments.
#nextjs #search #form
Learn how to search in Next.js with Drizzle ORM SQL database queries and next/form. We will add search features for customers and tickets and learn how the Next.js Form component works with search params.
β Use the code "davegray" for 3 months free on the Team plan of Sentry for any new accounts:
- Sentry Homepage: bit.ly/sentry-dg
- Sentry Sign-up: bit.ly/try-sentry-dg
- Sentry Next.js: bit.ly/sentry-nextjs-dg
- Sentry Next.js Docs: bit.ly/sentry-docs-dg
π₯ Neon Postgres: https://fyi.neon.tech/davegray
π Kinde Auth: kinde.com/dgray-nextjsstack
π Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
π Support me on Patreon β patreon.com/davegray
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Ask Questions & Discuss on Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Next.js Full Stack Project playlist: youtube.com/playlist?list=PL0Zuz27SZ-6PCLz7VMP2QQdeKa83rshe5
π Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Course Resources: github.com/gitdagray/nextjs-full-stack-project
Search in Next.js with Drizzle ORM | Nextjs Full Stack Project
(0:00:00) Intro
(0:01:03) Tech Stack
(0:01:23) User Stories Checklist
(0:02:26) SearchButton component
(0:05:03) Customer Search Form
(0:08:25) Customer server component
(0:11:11) Drizzle Query: getCustomerSearchResults
(0:17:26) Testing Customer Search Results
(0:19:05) Ticket Search
(0:34:38) Improving Navigation
π Tutorial References:
π Next.js: nextjs.org
π ShadCN/ui: ui.shadcn.com
π Sentry Next.js: bit.ly/sentry-nextjs-dg
π Tailwind CSS: tailwindcss.com
π TypeScript: typescriptlang.org
π Drizzle ORM: https://orm.drizzle.team/
π Neon Postgres: https://fyi.neon.tech/davegray
π Kinde Auth: kinde.com/dgray-nextjsstack
π next-safe-action: https://next-safe-action.dev/
Was this Next.js search form tutorial with Drizzle and next/form helpful? If so, please share. Let me know your thoughts in the comments.
#nextjs #search #form










