How to Host Your Portfolio for Free on Vercel
The best free host for Next.js and React + Vite portfolios. Connect your GitHub repo once and every future edit updates your live site automatically.
Before You Start
- Your unzipped & edited 1DP template folder
- A free GitHub account (github.com) and a free Vercel account (vercel.com)
| Template Version | Build Command | Output Directory |
|---|---|---|
| Next.js | npm run build | Auto-detected |
| React + Vite | npm run build | dist |
| HTML / CSS / JS | None | . |
Create a new repository on GitHub
Log in to github.com, click '+' → 'New repository', name it 'my-portfolio', and click Create repository (leave it empty).
Upload your template files to GitHub
No Git experience? Click 'uploading an existing file' right on the empty GitHub repo page and drag your files in! Or, if you use Git in VS Code, run the command below (replace YOUR_USERNAME):
Import your repository into Vercel
Sign in at vercel.com with GitHub, click 'Add New' → 'Project', and click Import next to 'my-portfolio'. Do not change the auto-detected settings.
Click Deploy and copy your live URL
Wait ~45 seconds for Vercel to finish building. Your portfolio is now live at https://my-portfolio.vercel.app — ready to paste into your resume!
Quick tips
- Never upload the node_modules folder to GitHub — Vercel installs packages automatically from package.json.
- If you want to test locally before uploading, run npm install followed by npm run build in VS Code.
Other free hosting guides