A full-featured blog application built using Flask, SQLAlchemy, and WTForms, with integrated rich text editing using CKEditor. This project allows users to create, edit, and delete blog posts, all while storing data in a SQLite database.
- ๐ Create new blog posts with title, subtitle, image, author, and body content
- ๐ Automatic timestamping of new posts
- ๐ Edit existing blog posts with a pre-filled form
- โ Delete blog posts
- ๐งญ View a list of all blog posts on the homepage
- ๐ Click on a blog title to view the full content
- ๐ Separate pages for About and Contact
- ๐ผ CKEditor integrated for rich-text post creation
- Python 3.x
- Flask
- Jinja2
- SQLAlchemy
- Flask-WTF
- Flask-Bootstrap
- CKEditor (via Flask-CKEditor)
- Clone the repository:
git clone https://github.com/your-username/your-flask-blog.git
cd your-flask-blog- Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # or venv\Scripts\activate on Windows- Install dependencies:
pip install -r requirements.txt- Run the app:
python main.pyNavigate to http://127.0.0.1:5003/ in your browser.
For feedback or contributions: Jeevan Jacob ๐ง jeevanjacob55@gmail.com