Welcome to Fahad's Blog! This web application was built as a learning project, incorporating various technologies and features.
- Flask: Web application framework
- Flask Bootstrap: Bootstrap integration for responsive design
- Flask CKEditor: Rich text editing capabilities
- Flask SQLAlchemy: Database management
- Flask Login: User authentication
- Werkzeug: Password hashing
- WTForms: Form creation and validation
- SQLite: Database engine
- Register with name, email, and password
- Secure password hashing
- Secure user login and logout
- Admin privileges for creating, editing, and deleting posts
- Rich text editing for detailed blog content
- Users can leave comments on individual blog posts
- Commenting requires user authentication
- Admin-only access for certain routes
- Display user's name, email, authored blog posts, and comments
- Dynamically linked profile information
- Bootstrap integration for responsive UI
This project serves as a practical learning experience for:
- Web development with Flask
- Database management with SQLAlchemy
- User authentication and session management
- Password hashing and security best practices
- Front-end design with Bootstrap
- Form creation and validation with WTForms
- Decorators and access control in Flask
- Integration of rich text editing with CKEditor
Feel free to explore the code in app.py
and the templates to understand how these features are implemented. Enjoy learning and experimenting with Fahad's Blog! If you have any questions or feedback, feel free to reach out.
If you find any issues, have suggestions, or want to contribute to this project, feel free to open an issue or submit a pull request on GitHub. Your contributions are highly appreciated! Let's learn and build together.