This is a modern portfolio website built with Next.js, TailwindCSS, and Aceternity UI, designed to showcase your projects, track visitor insights, and send automatic resume emails.
- Framework: Next.js
- Styling: TailwindCSS
- UI Library: Aceternity UI
- Emailing: Nodemailer
- Geolocation: IP2Location API
- Database: MongoDB Atlas
- Deployment: Vercel
- Map: World map from Aceternity UI
- ✅ Built with Next.js and TailwindCSS
- ✅ Sleek animated components via Aceternity UI
- ✅ Dynamic Resume Download + Contact Form
- ✅ Visitor Analytics:
- 🌍 World Map (via Aceternity UI)
- 👤 Show Last Visitor City & Country (IP2Location)
- 📊 Display Total Visitors (stored in MongoDB)
- ✅ Auto Resume Reply via Nodemailer
- ✅ Stores contact + visitor info in MongoDB
- ✅ Fully Responsive & Mobile Friendly
- ✅ SEO Optimized
- ✅ Deployed on Vercel
Here’s a preview of how the Personal Portfolio Website looks:
Create a .env.local file in the root directory and add the following:
NEXT_PUBLIC_IP2LOCATION_API_KEY=your_ip2location_api_key
NEXT_PUBLIC_MONGODB_URI=your_mongodb_connection_string
# For local MongoDB testing:
# NEXT_PUBLIC_MONGODB_URI=mongodb://localhost:27017/testDB
NEXT_PUBLIC_MONGODB_DB=your_mongodb_database_name
NEXT_PUBLIC_EMAIL_USER=your_email_address
NEXT_PUBLIC_EMAIL_PASS=your_email_password_or_app_token
NEXT_PUBLIC_RESUME_LINK=your_resume_google_drive_or_hosted_link
NEXT_PUBLIC_URL=http://localhost:3000
# Or for production:
# NEXT_PUBLIC_URL=https://your-live-site-url.com🛑 Note: Never share or commit your real credentials publicly!
# Clone the repo
git clone https://github.com/Krishna11118/Portfoliogit.git
cd Portfoliogit
# Install dependencies
npm install
# or
yarn installGo to your Google Account settings.
Enable "Allow less secure apps".
Go to your App Passwords settings in your Google Account.
npm run dev
# or
yarn devOpen http://localhost:3000 to view it in the browser.
- Users who contact you get an automated resume email
- Data is stored in MongoDB
- SMTP credentials are securely managed using environment variables
- Uses IP2Location API to fetch visitor country & city
- Tracks and stores all visits in MongoDB
- Displays:
- ✅ Total Visits
- 🌍 Last Visitor’s City & Country
- 🗺️ Live map of visitors via Aceternity UI
- Push your code to GitHub
- Go to https://vercel.com
- Import your repo and add the
.env.localvalues to Vercel - Deploy in 1 click!
Krishna
📫 LinkedIn
📧 krishnasss365@gmail.com
🌐 Live Demo
This project is licensed under the MIT License





