Other images are at the bottom of this documentation
This is my first web app, a simple personal blog application built using Flask and MySQL. It allows user to post, edit, and delete blog posts, and also includes an admin login system for managing content.
- User-friendly Interface: An intuitive and easy-to-navigate web interface for reading and managing blog posts.
-
Admin Login: Admins have special privileges for managing all blog posts, including editing and deleting any post.
-
MySQL Database: Data is stored in a MySQL database using SQLAlchemy, ensuring efficient data retrieval and storage.
-
CRUD Operations: Users can Create, Read, Update, and Delete (CRUD) blog posts.
- Python 3.x
- Flask
- SQLAlchemy
- MySQL
- Other necessary libraries (check
requirements.txt
)
-
Clone this repository to your local machine:
git clone https://github.com/roshnirajak/Flask-Blog-WebApp.git
-
Install the required packages:
pip install -r requirements.txt
-
Create a MySQL database and update the database configuration in
config.py
with your database details. -
Run the application:
python app.py
-
Access the web app in your browser at
http://localhost:5000
.
- Log in as an admin.
- Create, edit, or delete your blog posts as needed.
- Admins can manage blog posts.
- Thanks to the Flask and SQLAlchemy communities for their excellent documentation and support.