Coder Social home page Coder Social logo

nextboilerplate's Introduction

Next.js Boilerplate with GitHub OAuth Authentication

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.

Features

  • 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.

Create a .env file and fill in your GitHub OAuth credentials.

GITHUB_CLIENT_ID = ...
GITHUB_CLIENT_SECRET = ...
NEXTAUTH_URL = http://localhost:3000
NEXTAUTH_SECRET = ...
NODE_ENV = development

Install credentials & Run the app

npm install 
npm run dev

Clone this repository:

git clone https://github.com/your-username/nextjs-github-auth-boilerplate.git

Usage

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.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests for any improvements or features you'd like to see added.

License

This project is licensed under the MIT License.

nextboilerplate's People

Contributors

omarxkhalid avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.