A modern, feature-rich blog application built with Flask. Create accounts, write posts, and engage with the community.
- User Authentication - Register, login, and secure sessions
- Blog Management - Create, read, and manage posts
- User Profiles - Custom profiles with online status
- Comment System - Engage with posts through comments
- Responsive Design - Bootstrap-powered responsive UI
- Real-time Status - Online/offline user indicators
- Python 3.8+
- pip package manager
-
Clone the repository ```bash git clone https://github.com/esparzar/flaskbog.git cd flaskbog ```
-
Set up virtual environment ```bash python -m venv venv source venv/bin/activate # Linux/Mac
```
-
Install dependencies ```bash pip install -r requirements.txt ```
-
Configure environment ```bash export FLASK_APP=run.py export SECRET_KEY="your-secret-key-here" export FLASK_ENV=development ```
-
Initialize database ```bash flask db upgrade ```
-
Run the application ```bash python run.py ```
-
Visit the site ``` http://localhost:5000 ```
- Backend Framework: Flask 2.3.3
- Database: SQLite with SQLAlchemy ORM
- Authentication: Flask-Login
- Forms: Flask-WTF with WTForms
- Migrations: Flask-Migrate with Alembic
- Frontend: Bootstrap 5, Jinja2 Templates
This project is licensed under the MIT License - see the LICENSE file for details.
Emmanuel Amponsah
- GitHub: @esparzar