{"repo":"rezahedi/nextjs-nextauth-starter","free":true,"listed":false,"github":"https://github.com/rezahedi/nextjs-nextauth-starter","clone":"git clone https://github.com/rezahedi/nextjs-nextauth-starter.git","description":"Next.js NextAuth Starter Template","language":"TypeScript","stars":40,"topics":[],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"Next.js Next-Auth Starter Template This is a Next.js project bootstrapped with create-next-app . Getting Started Create your .env file as the following or from the .env.example and fill it with your credentials, in the case of database I used Postgres hosted on Vercel with Prisma ORM, setup your database and fill the POSTGRES PRISMA URL and POSTGRES URL NON POOLING with your database credentials. Then, install all packages and run the development server: Open http://localhost:3000 with your browser to see the result. This project have two Routing Groups (home) and (admin) to have seperate root layouts for each. The (home) is for our root segment / that you can start editing the home page by modifying app/(home)/page.tsx . The (admin) is for our admin dashboard segment /admin that you can start editing the admin dashboard by modifying app/(admin)/admin/page.tsx . Here a screenshot of admin page with CRUD functions under /posts folder, by reviewing the codes you can learn more about how to use server actions in client side, how to create modal and forms and much more: Learn More This project build by Next.js 13 APP Router, using NextAuth for authentication, Modal Intercepting Routing for /login modal or 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 u","default_branch":null,"files":null,"tree":[],"storefront":"/r/rezahedi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rezahedi/nextjs-nextauth-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}