How to Deploy, Secure, and Automate Full-Stack Web Apps – Course for Beginners
Learn how to take a web application from local development to a secure, live production environment. You will learn how to manually configure an Ubuntu server, set up essential runtimes, establish automated CI/CD pipelines, and secure your site using HTTPS and Cloudflare. By tackling everything hand...
Key moments
- 0:00Introduction
- 1:50Problem statement & philosophy
- 6:23Module overview & roadmap
- 16:25Repo & handbook resources
- 17:21Module 1: Foundation
- 20:30Droplet provisioning
- 25:33SSH keys & ED25519 generation
- 35:15First login & package updates
- 40:05Sudo users & disable root login
- 49:56SSH configs & client shortcuts
- 57:00UFW firewall lockdown
- 1:07:59Fail2ban defense setup
- 1:14:24DigitalOcean recovery console
- 1:19:28Module 2: Application runtime
- 1:21:40SCP code transfer & permissions
- 1:27:48Python virtualenv & FastAPI
- 1:34:14Node.js, NVM & pnpm setup
- 1:38:16Fix OOM errors with swap memory
- 1:46:53Local tests via SSH tunneling
- 1:52:01Gunicorn & Uvicorn workers
- 2:00:46Supervisord process monitoring
- 2:06:01Memory & zombie processes via Btop
- 2:21:08Sync URLs with Vite proxy
- 2:31:58Nginx reverse proxy installation
- 2:50:28Fix 502 Gateway & permissions
- 3:01:55Security headers & CSP
- 3:23:20Module 3: Data & search
- 3:26:51Self-host Meilisearch on Ubuntu
- 3:28:30Standard vs system users
- 3:34:26DB dumps, snapshots & migration
- 3:41:40Secure keys & systemd service
- 3:51:55Seed search & connect FastAPI
- 4:05:40Automate daily snapshots
- 4:08:45Meilisearch UI dashboard
- 4:16:52Module 4: Global delivery
- 4:19:00Custom domain registration
- 4:23:43Configure DNS A & CNAME records
- 4:29:07SSL via Let's Encrypt & Certbot
- 4:36:50Automate 90-day SSL renewals
- 4:42:09Cloudflare CDN edge caching
- 4:59:47Restore real visitor IPs in Nginx
- 5:14:37Eliminate SPA soft 404 traps
- 5:23:48Port scanning with Nmap
- 5:29:37Module 5: Automation pipeline
- 5:34:11GitHub Rulesets branch protection
- 5:39:14Local hygiene via pre-commit
- 5:57:31Modular GitHub Actions CI
- 6:30:07Software Composition Analysis
- 7:03:15SAST scanning with Bandit
- 7:13:40Live Meilisearch integration testing
- 7:26:55E2E testing via Playwright
- 7:41:48DAST scanning with OWASP ZAP
- 8:00:43Frontend build & artifact generation
- 8:03:34Automated backup & cleanup scripts
- 8:07:28Passwordless visudo configuration
- 8:11:05Secrets & manual deployment reviews
- 8:41:35Sync production files via rsync
- 8:46:26Dynamic env file generation
- 8:50:26Atomic venv swap & rollbacks
- 8:58:56Rolling restarts (Supervisor/Nginx)
- 9:09:23Module 6: Optimization & maintenance
- 9:10:22Parsing Nginx logs via GoAccess
- 9:14:58Password-protected analytics dashboard
- 9:20:51Solving CSP restrictions via nonces
- 9:29:57Aggregating compressed logs via zgrep
- 9:33:05Hourly automated dashboard updates
- 9:34:21Real-time server monitoring via Btop
- 9:42:26Block malicious bots with UFW
- 9:50:30Load testing & latency via Locust
- 10:05:38Disk usage analysis via NCDU
- 10:08:14JournalD & Nginx log retention
- 10:10:40Monthly cron maintenance scripts
- 10:14:10Scheduled deep DAST scanning
- 10:25:19Conclusion
Chapters by freeCodeCamp.org
Other Coverage
Related Videos
Did you find what you came for?
Thanks, that helps us improve this page.




Sign in to add a comment