
From Localhost to Live SaaS: Deploying My FastAPI App with Apache, SSL & JWT Auth
Hey friends π Today Iβm sharing my complete real-world deployment journey β from building a FastAPI project to making it live with: JWT Authentication (Login/Register) Landing Page + Dashboard UI FastAPI Backend Apache Reverse Proxy HTTPS (SSL with Certbot) VPS Hosting (Linux) This is a step-by-step, copy-paste friendly guide β no confusion, just execution Project Overview My project includes: β Landing page β User Registration & Login β JWT Authentication β Dashboard (after login) β API-based backend (FastAPI) β Static + Templates (HTML/CSS/JS) Step 1 β Setup Server Install Python & pip: sudo apt update sudo apt install python3 python3-pip -y Step 2 β Upload Project Navigate to your project folder: cd ~/htdocs/soical-media-automation/automation_platform Step 3 β Install Dependencies If you have requirements.txt : pip3 install -r requirements.txt If not: pip3 install fastapi uvicorn python-dotenv Step 4 β Run FastAPI App nohup python3 -m uvicorn app.main:app --host 0.0.0.0 --port 8000
Continue reading on Dev.to
Opens in a new tab



