Auth Starter Template

This project build by Next.js 13 APP Router, using NextAuth  for authentication, Modal Intercepting Routing  for /login modal/route and styled by Tailwind. This project also included a sample protected route and sub-routes too, It is useful for making admin dashboard. I used Route Groups  to make multiple root layouts for each of home page and admin dashboard separatly.

I made this project to help me understand how to use Next.js 13 APP Router structure and how to setup NextAuth, also to have a simple starter template for my future projects that need authentication.

Upcoming actions:

  • - Implement authorization for API routes.
  • - Utilize the Prisma provider for efficient token and user management.
  • - Incorporate a secure Login with email / password functionality.