Flask Course - Python Web Application Development

freeCodeCamp.org · 1.2M views · 2021 · 6:21:04

Open on YouTube

Web developmentPython, Ruby & scripting languagescoursedated

Why Stack Overflow recommends it

Stack Overflow users cite it as the tutorial they were following when their Flask-SQLAlchemy setup, especially db.create_all() and circular imports, failed to behave as shown in the video.

Recommended by 0 people across 0 different months, 2021 to 2023.

What it is

A 6-hour freeCodeCamp course by Jim of JimShapedCoding that teaches the Flask web framework by building an e-commerce market site. It covers templates, SQLAlchemy models, forms and validation, user authentication, and item buying and selling.

What people said

Cites Paul Clauss · 2021-11 · Stack Overflow · on “Circular imports when creating database”

Also, that's strange. Assuming I'm not blind, it seems this is exactly what's done in the tutorial I'm watching. Can anyone fact check me and/or explain the difference between the tutorial and what I have? The link is: [this video] And in case that doesn't work, the title is "Flask Course - Web Application Development" by freeCodeCamp.org.

Cites Wamiti · 2022-10 · Stack Overflow · on “db.create_all() not creating db”

I am stuck at trying to create a db following a flask tutorial: [this video] When I try to run db.create_all() after importing db from my project, I get Traceback (most recent call last): File "", line 1, in File "C:\Users\josep\Market\venv\lib\site-packages\flask_sqlalchemy\extension.py", line 868, in create_all self._call_for_binds(bind_key, "create_all") File "C:\Users\josep\Market\venv\lib\site-packages\flask_sqlalchemy\extension.py", line 839, in _call_for_binds engine = self.engines[key] File "C:\Users\josep\Market\venv\lib\site-packages\flask_sqlalchemy\extension.py", line 628, in engines app = current_app._get_current_object() # type: ignore[attr-defined] File "C:\Users\josep\Market\venv\

Cites CarlosCastrejon · 2023-04 · Stack Overflow · on “Can't see .db file Flask SQLAlchemy”

I am learning how to create a simple web application using Flask and I am following this course ( [this video] ) Right now, I am trying to create a database and following the steps shown in the video, I am not able to see the .db file in my folder. I was not able to create the database as shown in the video but I created it by going into the python terminal and using the following commands: $ from market import app, db $ app.app_context().push() $ db.create_all() The code I have right now is the following: from flask import Flask, render_template from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///market.db' db = SQLAlchemy(app) class I