A state-of-the-art authentication solution for any NextJS platforms, offering a blend of security, usability, and scalability.
- Features
- Screenshots
- Installation
- Environment Variables
- Usage
- Deployment
- Contributing
- License
- Acknowledgments
- Contact
- Secure authentication with Clerk
- Single Sign-On (SSO) support
- Email verification flow
- Password reset functionality
- Responsive design for mobile and desktop
Ensure you have Node.js installed on your machine.
node --version
npm --version
-
Clone the repository:
git clone https://github.com/ItsPinion/NextJS-Auth-Template.git
-
Navigate into the directory:
cd NextJS-Auth-Template
-
Install dependencies:
npm install # or bun install
-
Copy
.env.example
to.env
and fill in the required values. -
Start the development server:
npm run dev # or bun dev
or
-
Build and start the server:
npm run build npm start # or bun run build bun start
DATABASE_URL
: Connection string for your database.CLERK_SECRET_KEY
: Clerk secret key for authentication.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY
: Clerk publishable key exposed to the client side.
Navigate to http://localhost:3000
in your web browser and click the sign in button to start the authentication process.
Deployed using Vercel. Continuous deployment is configured via GitHub Actions.
We welcome contributions! Please read our Contributing Guide for details on how to submit pull requests to us.
MIT License © ItsPinion
- The Shadcn UI library for providing a modern and clean UI.
- Clerk for handling authentication and user sessions.
- Drizzle ORM for efficient data management.
- The open-source community for their contributions and support.
For any questions or feedback, please contact the project maintainer(ME) at our discord server Pinion's Nest.