Skip to content

mladimatija/nextjs-github-repo-search

Repository files navigation

NextJS Github Repo Search

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.

Demo

Working Demo

Requirements

Installation

Add following variables to your .env and then hit npm install & npm run dev:

  • NEXT_PUBLIC_GITHUB_TOKEN

Deployment

Use Vercel or Netlify :)

TODOs

Search "TODO" inside the repo.

About

GitHub repositories search built using NextJS, zod, tRPC, Chakra UI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published