Deploy to Netlify¶
Deploy your FastReact frontend on Netlify for fast, reliable static hosting with a great developer experience.
What You'll Use¶
- Netlify - Frontend and landing page hosting
- Backend elsewhere - Use Azure, Railway, Fly.io, or DigitalOcean for backend
Cost Estimate¶
- Netlify Free: Free (100GB bandwidth/month)
- Netlify Pro: ~$19/month
- Plus backend hosting: $10-30/month
Total: ~$30-50/month
Why Netlify?¶
- Easy setup - Connect GitHub, done
- Fast global CDN - Edge hosting worldwide
- Instant rollbacks - One-click revert
- Branch previews - Every PR gets a preview URL
- Forms and functions - Built-in serverless capabilities
Deployment Guide¶
1. Build the Frontend¶
Output goes to build/client/.
2. Deploy with Netlify CLI¶
# Install Netlify CLI
npm install -g netlify-cli
# Login
netlify login
# Deploy
cd frontend
netlify deploy --prod --dir build/client
3. Or Deploy via GitHub¶
- Go to app.netlify.com → Add new site
- Connect your GitHub repository
- Configure:
- Base directory:
frontend - Build command:
npm run build - Publish directory:
build/client - Click Deploy site
4. Configure Environment Variables¶
In Netlify dashboard → Site settings → Environment variables:
Custom Domain¶
- Netlify dashboard → Domain management
- Add your custom domain
- Update DNS to point to Netlify
Key Features¶
- Automatic HTTPS/SSL
- Deploy previews for pull requests
- Form submissions (no server needed)
- Split testing
- Analytics
Want to contribute this guide? Open a PR with your deployment experience!