This app now uses Reown (formerly WalletConnect) for authentication, which provides:
- ✅ 600+ Crypto Wallets (MetaMask, Coinbase Wallet, Trust Wallet, etc.)
- ✅ Social Login (Google, GitHub, Apple, X/Twitter, Discord)
- ✅ Email Login (Passwordless)
- ✅ Smart Wallets (Auto-created for social/email users)
- Visit Reown Dashboard
- Sign up or log in (free)
- Click "Create New Project"
- Fill in:
- Project Name:
NEET.me - Homepage URL:
http://localhost:1337(for local dev)
- Project Name:
- Copy your Project ID
Add to your .env file:
NEXT_PUBLIC_REOWN_PROJECT_ID=your_project_id_here
NEXT_PUBLIC_APP_URL=http://localhost:1337
DATABASE_URL="file:./dev.db"
NEXTAUTH_URL="http://localhost:1337"
NEXTAUTH_SECRET="your-secret-key-here"Note: NEXTAUTH_SECRET is still used for session management, but you don't need Twitter/Google/GitHub credentials anymore!
npm run devThat's it! 🎉
- User clicks "Connect Wallet"
- Chooses their wallet (MetaMask, Coinbase, etc.)
- Approves connection
- App gets their wallet address
- User account is created/linked automatically
- User clicks "Connect Wallet or Sign In"
- Chooses email or social provider
- Signs in with their preferred method
- Reown creates a smart wallet for them automatically
- App gets the wallet address
- User account is created/linked automatically
- MetaMask
- Coinbase Wallet
- Trust Wallet
- Rainbow Wallet
- WalletConnect
- And 595+ more!
- GitHub
- Apple
- X (Twitter)
- Discord
- Passwordless email authentication
- Magic link sent to email
- Smart wallet auto-created
When deploying to production:
-
Update Reown Dashboard:
- Go to your project settings
- Update "Homepage URL" to your production domain
- Add production domain to allowed origins
-
Update Environment Variables:
NEXT_PUBLIC_REOWN_PROJECT_ID=your_project_id NEXT_PUBLIC_APP_URL=https://yourdomain.com
-
Update Database:
- Switch from SQLite to PostgreSQL for production
- Update
DATABASE_URLin.env
✅ No API Keys Needed - Just one Project ID
✅ 600+ Wallets - Support all major wallets
✅ Social + Email - Users can choose their preferred method
✅ Smart Wallets - Auto-created for non-crypto users
✅ Free - No cost for basic usage
✅ Easy Setup - 5 minutes vs hours for individual providers
- Make sure
NEXT_PUBLIC_REOWN_PROJECT_IDis set in.env - Restart your dev server after adding it
- Make sure you've connected your wallet/signed in first
- Check browser console for errors
- Verify the address is being sent in API requests
- Make sure you have a wallet extension installed (MetaMask, etc.)
- Try refreshing the page
- Check browser console for errors
- Get your Project ID from dashboard.reown.com
- Add it to
.env - Restart the server
- Test the connection!
That's all you need! 🚀