Your personalized itinerary planner powered by AI.
- Create a new database at database.new (for DIRECT_URL and DATABASE_URL env variables)
- Generate your API key from resend.com (for SMTP_PASSWORD env variable)
- You can also generate your GitHub OAuth Client and Secret from Developer settings in your GitHub account.
- Then use the above values and create a .env file (sample given below) in root of the folder.
GITHUB_CLIENT_ID=yourgithubclientid
GITHUB_CLIENT_SECRET=yourgithubclientsecret
SMTP_USER=resend
SMTP_PASSWORD=yourresendapikey
SMTP_HOST=smtp.resend.com
SMTP_PORT=465
EMAIL_FROM=youremailhandle@yourverifieddomain.xyz
DIRECT_URL='postgresql://postgres.[projectid]:[password]@aws-0-[aws-region].pooler.supabase.com:5432/postgres'
DATABASE_URL='postgresql://postgres.[projectid]:[password]@aws-0-[aws-region].pooler.supabase.com:6543/postgres?pgbouncer=true&connection_limit=3&pool_timeout=30'
GOOGLE_GEMINI_API_KEY=yourgooglegeminiapikey
- then, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
Email me at: jannatkhandev@gmail.com for any questions.