도메인 사고, 호스팅 신청하고, FTP 올리고 — 그 시대는 끝났다. git push 한 줄이면 도메인·SSL·CDN까지 다 된다. leasebot.co.kr도 이렇게 배포됐다.
끝. 푸시하면 자동 재배포. 다운타임 0.
leasebot/
├── index.html ← 메인
├── app.jsx ← React 앱
├── styles.css
├── api/
│ └── chat.js ← Vercel Functions (서버리스)
├── blog/
│ ├── index.html ← 블로그 목록
│ └── *.html ← 개별 글
├── privacy.html
├── terms.html
├── manifest.webmanifest
├── robots.txt
├── sitemap.xml
└── vercel.json ← 핵심 설정
{
"cleanUrls": true, ← /privacy.html → /privacy
"trailingSlash": false,
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "X-Frame-Options", "value": "SAMEORIGIN" },
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" }
]
}
]
}
https://leasebot.co.kr/privacy.htmlhttps://leasebot.co.kr/privacy (자동 리다이렉트)SEO 친화 + 사용자 경험 향상.
npx vercel --prod --yes --token YOUR_TOKEN
# 출력:
# Production: https://leasebot.co.kr ready
백엔드도 별도 서버 필요 없다. api/ 폴더에 파일 만들면 자동으로 endpoint가 된다.
// api/chat.js
export default async function handler(req, res) {
const { messages } = req.body;
// Anthropic API 호출
const reply = await callClaude(messages);
res.json({ reply });
}
// → POST /api/chat 으로 자동 노출
"홈페이지 만들었으니 운영비 매월 얼마…" 시대는 지났다. Vercel은 코드 푸시 → 배포 → 운영을 무료로 자동화한다. 시간·비용·관리 부담 모두 0.