Your MongoDB Atlas cluster is resumed and accessible via MongoDB Compass.
Cluster Details:
- Cluster URL:
cluster0.5ucr1fl.mongodb.net - Database Name:
nextportfolio - Status: Connected ✅
- payload-migrations
- payload-preferences
- projects
- skills
- users
- experiences
- media
- pages
- Go to MongoDB Atlas Dashboard
- Click "Connect" on Cluster0
- Choose "Connect your application"
- Copy the connection string
Create a .env.local file in your project root with:
# MongoDB Atlas Connection
DATABASE_URL="mongodb+srv://your-username:your-password@cluster0.5ucr1fl.mongodb.net/nextportfolio?retryWrites=true&w=majority"
# Email configuration for Resend
RESEND_API_KEY=your_resend_api_key_here
EMAIL_ADDRESS_FROM=your-email@example.com
# Voice AI (Vapi) configuration
VAPI_PUBLIC_KEY=b42e5bf6-ca87-4564-9c03-7beef93c25e3
VAPI_AGENT_ID=e9675026-b11b-4615-b4f0-8fd1fe5a87a6- Replace
your-usernamewith your Atlas username - Replace
your-passwordwith your Atlas password - Keep the database name as
nextportfolio(as shown in Compass)
Run your application to test the database connection:
npm run dev- Never commit
.env.localto version control - The
.env.localfile is already in your.gitignore