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.
- 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.
- Clone the repository:
git clone https://github.com/Kuzma02/NextAuth-NextJS13-Boilerplate
- Install dependencies
cd folder-name
npm install
- 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
- Run the development server:
npm run dev