Back to Browse

Python Backend #5: Deploy Your Flask App (Free Hosting Setup Guide)

622 views
May 22, 2025
25:41

๐Ÿš€ Learn how to deploy your Flask app for FREE using Render.com โ€” no paid hosting required! In this video, we walk through everything from creating your GitHub repo to deploying your API live on the internet. Previous Video: https://youtu.be/NRN2DFpViYc Previous project files: https://github.com/NDCSwift/Swift-Projects/raw/refs/heads/main/Python-Projects/PythonBackedExample_4.zip ๐Ÿ”— Links: Flask: https://flask.palletsprojects.com/ Render: https://render.com/ GitHub: https://github.com/ Example Code & Resources: https://ndcswift.github.io/Swift-Projects/ ๐Ÿ”น What Youโ€™ll Learn: โœ… How to deploy your Flask API using GitHub + Render โœ… What goes in your requirements.txt and gunicorn setup โœ… How to connect a live endpoint from Postman or the browser โœ… API security basics and how to test your public endpoint ๐Ÿ”น Who is this for? โœ… Python devs ready to share their project online โœ… Anyone building APIs for apps or portfolios โœ… Devs who want a free, simple deploy pipeline Manual github remote / push git remote add origin https://github.com/yourusername/flask-api-project.git git push -u origin main ๐Ÿ”ฅ Download My Project Files ๐Ÿ‘‰ Get the source code here: ๐Ÿ”— https://ndcswift.github.io/Swift-Projects/ โฑ๏ธ Timestamps: 00:00 โ€“ Intro & tools for today 00:52 โ€“ Check your api before launching 01:22 โ€“ Opening a folder in VS code 02:13 โ€“ Creating a requirements.txt 02:50 โ€“ updating requirements.txt 04:00 โ€“ Procfile 05:06 โ€“ optional Readme file 05:26 โ€“ Pushing to github with VS code 07:30 โ€“ Using Render to host our API for free 08:24 โ€“ Syncing GitHub & render 09:00 โ€“ Configure on Render 10:27 โ€“ Deployment 11:44 โ€“ Testing with Postman 14:44 โ€“ ReadMe file Markdown 16:19 โ€“ Protecting our API with a key (.ENV) 18:38 โ€“ Requiring an API key for a route 21:19 โ€“ Local Testing if needed 21:33 โ€“ Creating a .gitignore 22:39 โ€“ Import fix for wraps 23:14 โ€“ Testing our API key requirement 25:07 โ€“ Wrap up & Whats next

Download

1 formats

Video Formats

360pmp439.8 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Python Backend #5: Deploy Your Flask App (Free Hosting Setup Guide) | NatokHD