Skip to content

zealizu/Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fullstack Blog Website

Python Flask License: MIT

A simple, responsive blog platform built with Flask backend and a frontend using HTML, CSS, Bootstrap, and JavaScript.


🚀 Features

  • User registration and authentication
  • Create, edit, and delete blog posts
  • View all blog posts with pagination
  • Responsive design with Bootstrap
  • Secure password hashing and session management
  • Commenting system (optional)
  • Clean and easy-to-navigate UI

🛠️ Tech Stack

  • Backend: Python, Flask, Flask-Login, Flask-WTF, Flask-SQLAlchemy
  • Frontend: HTML5, CSS3, Bootstrap 5, Vanilla JavaScript
  • Database: SQLite (default), easily switchable to PostgreSQL/MySQL
  • Templating: Jinja2 (Flask’s default)

💻 Installation

  1. Clone the repository
git clone https://github.com/zealizu/blog.git
cd blog

# Create virtual environment
python -m venv venv

# Activate virtual environment
# macOS/Linux
source venv/bin/activate

# Windows (PowerShell)
venv\Scripts\Activate.ps1

# Windows (CMD)
venv\Scripts\activate.bat

#install requirements
pip install -r requirements.txt
  1. Create a .env file in the project root with: SECRET_KEY=your_secret_key_here DATABASE_URL=sqlite:///site.db
  2. Run the development server Flask run

About

Simple Blog Website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published