A GitHub OAuth integration built using Next.js, NextAuth.js, and Tailwind CSS. This app allows users to authenticate with their GitHub accounts and view a list of their repositories. Each repository entry includes:
- Repository name
- Last updated date
- Repository owner
- Download option as a zip file
- GitHub OAuth login with NextAuth.js
- List of repositories with details and download option
- Middleware for protecting routes
- Seamless redirection based on authentication state
- Styled with Tailwind CSS for a responsive design
- Next.js
- NextAuth (Auth.js v5)
- GitHub OAuth Provider
- Tailwind CSS
- TypeScript
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:4800 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.