VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Full stack Python Flask tutorial - Build a social network

Full stack Python Flask tutorial - Build a social network

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Learn how to build a basic social platform with the Python Flask web framework. In this video we review how to create a database, pull data in and out of that database, create a web server with python, and use python HTML templating to render a page for the user! Tutorial created by John G. Fisher. Watch more great tutorial from John on his YouTube channel: https://www.youtube.com/channel/UCoMAKPDECRWb7GEWF1lQZMQ
Date: 2022-03-14

Comments and reviews: 10


Can anyone help me solve it, please (Im using windows 11):
PS C:\Users\phanh\net> vi schema.sql-
vi : The term 'vi' is not recognized as the name of a cmdlet,-
function, script file, or operable program. Check the spelling-
of the name, or if a path was included, verify that the path is-
correct and try again.-
At line:1 char:1-
+ vi schema.sql-
+ ---
+ CategoryInfo : ObjectNotFound: (vi:String) [], Co-
mmandNotFoundException-
+ FullyQualifiedErrorId : CommandNotFoundException

reply

Why virtualenv isn't working on my windows? and where to find way to fix this problem?
and also you typed as virtualenv --python=python3.9
output: there is a issue error message?
I also interect with this thing ls is this a linux is using it for? because im trying to use it on windows but it doesn't let me know to enter it properly...
lastly, im still confused in the virtualenv creating the file into your folder net

reply

CORS is not going to protect you from Cross Site Scripting (XSS) or SQL Injection (SQLi), CORS is just used to prevent or allow Cross-Origin Resource Sharing from specific domains. if you want to be secured from XSS and SQLi you just want to make sure what is being displayed (in case of xss) or what goes into database (in case of sqli) is properly filtered.
reply

I'm getting an Error when i try to run sqlite3:
Error: near line 2: near -)-: syntax error
My code is
drop table if exists posts;
create table posts (
id integer primary key autoincrement,
name text not null,
content text not null,
);

reply

Wow! Short and sweet! I'm glad I got to learn another way of building a website using Flask without FlaskSQLAlchemy. I don't mind about the latter part with errors. I'll take it as a crash course in debugging.
reply

Hey there John, I'd like to ask you about how I can make this social platform public so I can share this with my friends, could you make a different tutorial for that? Thank you!
reply

im stuck here please help
Using windows 10. (vi schema.sql) gives an error -'vi' is not recognized as an internal or external command,-
operable program or batch file.-

reply

when I try to put source my/env/activate, my command terminal says: -source- is not an internal or external command on windows, I am stuck there
reply

Using windows 10. (vi schema.sql) gives an error -'vi' is not recognized as an internal or external command,
operable program or batch file.-

reply

Short and crisp. Very well put. You have done well with explanations of small things, you haven't assumed people know things. Thank you.
reply
Add a review, comment






Other channel videos