A simple app that searches Github for repositories based on any keyword. Built using NextJS while exploring new technologies - Chakra UI, Zod and tRPC.
For simplicity sake all potentially configurable values are kept inside the app - only NEXT_PUBLIC_GITHUB_TOKEN
was extracted as a env variable (see Installation).
Challenge here was trying to recreate api request throttling functionality while using tRPC (tanstack-query underneath), which does not support any kind of debouncing/throttling natively (nor it will).
LogoAI was used to generate app logo.
Add following variables to your .env
and then hit npm install
& npm run dev
:
- NEXT_PUBLIC_GITHUB_TOKEN
Use Vercel or Netlify :)
Search "TODO" inside the repo.