Skip to content

Deployment

Ready to take your FastReact app live? Deploying is simpler than you might think.

What You Need

FastReact needs three things to run in production:

  1. A place for your backend - Any platform that can run Docker containers (Azure, AWS, DigitalOcean, etc.)
  2. A PostgreSQL database - Many providers offer this (Neon, Supabase, Azure, AWS, etc.)
  3. Hosting for your frontend - Vercel, Netlify, Cloudflare Pages, or similar

That's it! Most modern cloud platforms make this straightforward with just a few setup steps.

Choose Your Platform

FastReact's flexible architecture means you're not locked into any specific platform — you can run it anywhere that supports Docker containers, PostgreSQL, and static file hosting. Below we've included guides for the most popular, affordable, and production-ready options.

Full-stack platforms (backend + database + frontend):

  • Azure - Container Apps + PostgreSQL Flexible Server + Static Web Apps
  • DigitalOcean - App Platform + Managed Database + Static Sites
  • Railway - Containers + PostgreSQL + Static Sites (simple, affordable)
  • Fly.io - Containers + Postgres + Static Sites
  • AWS - ECS/Fargate + RDS + S3/CloudFront
  • Google Cloud - Cloud Run + Cloud SQL + Cloud Storage

Frontend-only platforms (pair with above for backend):

Affordable PostgreSQL databases (pair with any platform):

  • Neon - Serverless Postgres with free tier
  • Supabase - Postgres + extras, generous free tier
  • Railway - Simple Postgres hosting
  • Render - Managed Postgres from $7/month

Self-hosted platforms (run on your own server):

Quick Overview

Here's what happens when you deploy:

Your Users → Frontend (Vercel/Netlify) → Backend API (Container) → Database (PostgreSQL)

The frontend is just HTML/CSS/JS files hosted anywhere. It talks to your backend API, which connects to your database.

Security Checklist

Before going live:

  • [ ] Use strong passwords for database and admin accounts
  • [ ] Set proper CORS origins (your actual domain, not *)
  • [ ] Use HTTPS everywhere (usually automatic with modern platforms)
  • [ ] Don't commit secrets to git - use environment variables
  • [ ] Enable database backups

Platform guides include specific security recommendations.

Alternative: Run on Your Own Server

You can also deploy FastReact on a traditional VPS or bare metal server using Docker Compose or directly with Python/Node.js, though this requires DevOps knowledge. FastReact includes a docker-compose.yml you can use as a starting point.

Note: We recommend cloud platforms for most users - they handle scaling, backups, and security updates automatically.