Build a Social Network with Flask

Treehouse
Course Summary
It's time to dig in and build something big. In this course, we're going to take the tools we've learned, Flask, Peewee, and Python itself, and build a small social network. We'll have user registration, user authentication, strongly hashed passwords, form validation, and more.
-
+
Course Description
About this Course It's time to dig in and build something big. In this course, we're going to take the tools we've learned, Flask, Peewee, and Python itself, and build a small social network. We'll have user registration, user authentication, strongly hashed passwords, form validation, and more. What you'll learn
- User registration and authentication
- Password hashing
- Form validation
- Joins
About the Teacher
Besides teaching Python at Treehouse, Kenneth Love is a husband & father. He created a few popular Python libraries, worked at most levels of the web stack, & was the Creative Director of a newspaper. He likes board games, whiskey, activism, & dry humor.
-
+
Course Syllabus
Making Strong Users
We won't get far in our social application with out users. Let's make sure their passwords are stored correctly and strongly, too. 10 steps- Our Project 1:38
- Flask and Peewee Review 6 questions
- The User Model 4:57
- Create a User model 3 objectives
- The UserMixin From Flask-Login 5:50
- Add UserMixin 2 objectives
- Cryptographic Hashing with Flask-Bcrypt 6:50
- Bcryptkeeper 3 objectives
- Class Method 4:07
- What's a method like you doing in a class like this? 2 objectives
Takin' Names
Users need a way to sign up and sign in to our site. We'll need to validate their information, create our model instances, and store their session information. Luckily, we have a few handy libraries to do a lot of that for us! 13 stepsBroadcasting
Our app needs messages posted by the users. Let's give them a model, a form, and the views necessary so they can tell the world what they're up to. 10 stepsHow to Win Friends
The final ingredient in any social site is the ability to follow people. We'll need to add a new model, a couple of views, and tweak a template or two. We'll also want to change a query or two to get the full social experience. 10 stepsTacocat Challenge
Now that you've built an app along with me, and another in code challenges, try and build one on your own. You have a full suite of tests to validate your work. 2 steps