Welcome to Auth - your comprehensive authentication service provider! Auth simplifies the login and sign-up process for users and administrators while ensuring top-notch security and flexibility. This project offers a range of features designed to meet the authentication needs of modern web applications.

-
Two-factor Authentication: Enhance account security with two-factor authentication, providing an additional layer of protection.
-
Email Verification: Validate user email addresses to reduce the risk of fraudulent accounts and ensure user authenticity.
-
Password Management: Enable users to reset forgotten passwords and recover account access seamlessly.
-
Admin-Only API Routes: Secure API routes exclusively for administrators, allowing for efficient management and monitoring of user accounts.
Role Management: Users can change their role between admin and user, allowing for flexible access control and permissions management.
- Backend: Next-JS 14, Typescript, Zod
- Database: Postgresql + Prisma + Neon
- Authentication: Auth.js
- Email Services: Resend
- Frontend: Nextjs 14, Typescript, Tailwind-CSS, Shadcn-ui
- Api: Google Api, Github Api
To set up Auth locally, follow these steps:
-
Clone the repository:
git clone https://github.com/vedang685/Auth-v5
-
Navigate to the project directory:
cd next-auth
-
Install the dependencies:
npm install
-
Start the server:
npm run dev
- User Authentication: Allow users to register and log in securely using credentials or OAuth providers.
- Email Verification: Verify user email addresses to ensure account authenticity and reduce fraudulent activities.
- Password Management: Implement password reset and forgot password functionalities to enhance user experience and account security.
- Admin Control: Utilize admin-only API routes for efficient management and monitoring of user accounts.
If you have any questions, suggestions, or feedback, feel free to open an issue or reach out to me.