This repository serves as a boilerplate setup for building web applications using Next.js with OAuth GitHub authentication, Tailwind CSS for styling, NextAuth.js for authentication, and Shadcn UI for UI components.
- Next.js: React framework for building web applications.
- Tailwind CSS: Utility-first CSS framework for rapid UI development.
- NextAuth.js: Authentication library for Next.js applications with built-in support for OAuth providers like GitHub.
- Shadcn UI: UI components library for React applications, providing pre-designed components for faster development.
GITHUB_CLIENT_ID = ...
GITHUB_CLIENT_SECRET = ...
NEXTAUTH_URL = http://localhost:3000
NEXTAUTH_SECRET = ...
NODE_ENV = development
npm install
npm run dev
git clone https://github.com/your-username/nextjs-github-auth-boilerplate.git
This boilerplate provides a basic setup for integrating GitHub OAuth authentication into your Next.js application. You can extend and customize the functionality according to your project requirements.
Contributions are welcome! Feel free to open issues or submit pull requests for any improvements or features you'd like to see added.
This project is licensed under the MIT License.