Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kuzma02/nextauth-nextjs13-boilerplate

This project serves as a starting point for building robust web applications leveraging the power of Next.js and NextAuth.js.
https://github.com/kuzma02/nextauth-nextjs13-boilerplate

auth authenticated authentication authorization next-auth nextauth nextjs nextjs-template nextjs13

Last synced: 15 days ago
JSON representation

This project serves as a starting point for building robust web applications leveraging the power of Next.js and NextAuth.js.

Awesome Lists containing this project

README

        

# Next.js & NextAuth Boilerplate

This project serves as a starting point for building robust web applications leveraging the power of Next.js and NextAuth.js. Designed to streamline the development process, it provides a well-structured, scalable foundation for rapid application development with built-in authentication capabilities.

# Features

- Next.js: Utilize the latest features of Next.js for server-side rendering, static site generation, and API routes.
- NextAuth.js: Integrate secure, flexible authentication with various providers, ensuring quick and reliable setup for login systems.
- Pre-configured: Comes pre-configured with essential Next.js and NextAuth.js settings to kick-start your project.

# Getting Started

1. Clone the repository:

```
git clone https://github.com/Kuzma02/NextAuth-NextJS13-Boilerplate
```

2. Install dependencies

```
cd folder-name
npm install
```

3. Create and add values to .env.local
- Create in the root of your project a file and name it .env.local
- Add the following values:

```
GitHub_ID=your_value_here
GitHub_Secret=your_value_here
GOOGLE_ID=your_value_here
GOOGLE_Secret=your_value_here
NEXTAUTH_SECRET=your_value_here
```

4. Run the development server:

```
npm run dev
```