1️⃣ What is Deployment?
A: Deployment is the process of making a web application live and accessible to users by hosting it on a server or platform.
2️⃣ What is Netlify?
A: Netlify is a cloud platform to host static websites and frontend frameworks (like React, Vue). It supports continuous deployment from Git.
Features: Free SSL, custom domain, form handling, serverless functions, ideal for JAMstack apps.
3️⃣ What is Heroku?
A: Heroku is a platform-as-a-service (PaaS) that lets you deploy full-stack apps easily using Git.
Features: Supports Node.js, Python, Ruby, etc., free tier (apps sleep when inactive), one-click deployment & add-ons like PostgreSQL.
4️⃣ What is Vercel?
A: Vercel is a frontend deployment platform optimized for React and especially Next.js apps.
Features: Fast global CDN, serverless functions, instant preview links for each commit.
5️⃣ How does Continuous Deployment work?
A: You connect your GitHub repo to Netlify, Heroku, or Vercel. On every push, the app builds and deploys automatically.
6️⃣ How do you deploy on Netlify?
A: Push your code to GitHub → Connect repo to Netlify → Configure build settings → Click "Deploy".
7️⃣ How do you deploy on Heroku?
A: Install Heroku CLI → Run:
git push heroku main → App will be deployed on a Heroku domain.8️⃣ How do you deploy on Vercel?
A: Login to Vercel → Import Git repo → Set up framework and build command → Deploy.
9️⃣ Which platform is best for static sites?
A: Netlify or Vercel – both offer free tiers, CDN, and fast performance.
🔟 How to handle environment variables in these platforms?
A:
- Netlify: Go to Site Settings → Environment
- Heroku: Use
heroku config:set VAR_NAME=value - Vercel: Project → Settings → Environment Variables
💬 Tap ❤️ for more!