A Next.js 16 application with NextAuth authentication using Google OAuth provider.
src/app/- Next.js App Router pages and API routessrc/components/- React componentssrc/lib/- Utility libraries and auth configurationpublic/- Static assets
- Next.js 16.1.1 with App Router
- NextAuth 4.x for authentication
- Tailwind CSS 4 for styling
- TypeScript
The app uses NextAuth with Google OAuth. Requires environment variables:
GOOGLE_CLIENT_ID- Google OAuth client IDGOOGLE_CLIENT_SECRET- Google OAuth client secretNEXTAUTH_SECRET- Secret for NextAuth session encryptionNEXTAUTH_URL- The canonical URL of the site
- Dev server runs on port 5000
- Command:
npm run dev
- Build:
npm run build - Start:
npm run start