Skip to content

theycallmefreire/Flask-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Flaskr - A Simple Flask Blog

Flaskr is a minimal blog application built using the Flask web framework.
This project was developed as part of the official Flask tutorial.

image

🚀 Features

  • User registration and login
  • Authentication with hashed passwords
  • Create, edit, and delete blog posts
  • Simple and clean UI using Jinja templates
  • Project structure using Blueprints and factory pattern
  • SQLite database integration

📦 Installation

1. Clone the repository

git clone https://github.com/theycallmefreire/Flask-tutorial.git

2. Create and activate a virtual environment

python -m venv venv
source venv/bin/activate   # Linux/Mac
venv\Scripts\activate      # Windows

3. Install project in editable mode

This installs the flaskr package and its dependencies in development mode.

pip install -e .

⚙️ Running the App

First, initialize the database:

flask --app flaskr init-db

Then start the development server:

flask --app flaskr run

Now open your browser at http://127.0.0.1:5000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published