Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Building a Lightweight and Scalable Online Forum with Flask and SQL Alchemy - Full Project Tutorial

Linode via YouTube

Overview

Learn how to build a lightweight and scalable online forum using Flask and SQL Alchemy in this comprehensive tutorial video. Follow along as the instructor guides you through setting up the project, creating the main Python file, configuring the database extension, and implementing a Bootstrap template. Discover how to create topics and comments databases, design a simple form, and fetch topics using GET requests. Explore the process of displaying topics and comments using Jinja loops and templates. Master the techniques for adding and displaying comments, showing comment counts, and fixing navigation bar headers. Finally, learn how to host your forum website on Akamai using Filezilla. Perfect for developers looking to create a functional and efficient online discussion platform.

Syllabus

Introduction
Set Up the Project for the Forum App
Create main.py File + Copy the Code from Flask
Configure the db Extension
Create the Bootstrap Template
Add the Navigation Bar
Create the Topics + Comments Databases
Make a Simple Form + Add Headings
Run a Get Request to Fetch All the Topics
Test ‘Add a Topic’ Form
Choose the Bootstrap Template for Displaying Topics
Add a Jinja Loop
Add an href
Reduce Heading Size
Create topic.html Template
Add topic.html to main.py + Fix Any Issues
Show the Comments on the Page with SQL Alchemy
Add a Comment on the Forum
Display the Added Comment
Show the Number of Comments jinja Array Length
Fix the Headers in Navigation Bar
Host the Website on Akamai + Filezilla
Conclusion

Taught by

Linode

Reviews

Start your review of Building a Lightweight and Scalable Online Forum with Flask and SQL Alchemy - Full Project Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.