This is a Next.js application optimized for Vercel deployment.
- Push to GitHub: Create a new repository and push this code.
- Import to Vercel: Connect your GitHub account and import the repository.
- Configure Environment Variables:
ANILIST_CLIENT_ID:37867ANILIST_CLIENT_SECRET:8hwjrNbeFMzeiPeELAeLgZeG45IXNjO7AomsU1kYNEXTAUTH_URL: Your Vercel deployment URL (e.g.,https://your-app.vercel.app)NEXTAUTH_SECRET: A random string for session encryption.
- Update AniList Redirect URL:
- Go to AniList API Settings.
- Update the Redirect URL to:
https://your-app.vercel.app/api/auth/callback/anilist.
- Install dependencies:
npm install - Run dev server:
npm run dev - Open http://localhost:3000