https://github.com/solygambas/flask-blogging-platform
A blogging platform using Flask, Jinja2 and Flask-SQLAlchemy.
https://github.com/solygambas/flask-blogging-platform
flask flask-migrate flask-sqlalchemy jinja2 postgresql python
Last synced: about 2 months ago
JSON representation
A blogging platform using Flask, Jinja2 and Flask-SQLAlchemy.
- Host: GitHub
- URL: https://github.com/solygambas/flask-blogging-platform
- Owner: solygambas
- License: mit
- Created: 2020-10-24T17:19:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-10T07:15:13.000Z (almost 4 years ago)
- Last Synced: 2025-02-13T23:34:55.333Z (over 1 year ago)
- Topics: flask, flask-migrate, flask-sqlalchemy, jinja2, postgresql, python
- Language: Python
- Homepage: https://flask-blogging-platform.up.railway.app/
- Size: 135 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blogging Platform
A blogging platform using Flask, Jinja2 and Flask-SQLAlchemy.
## Flask basics
- handling routes, request hooks and view functions with Flask.
- working with Jinja2 template engine, Flask-Bootstrap and Flask-Moment.
- creating web forms with Flask-WTF.
- displaying user-friendly messages with flash().
- managing the database with Flask-SQLAlchemy.
- updating the database model with Flask-Migrate.
- sending emails with Flask-Mail.
- using packages and modules to structure a large application that scales.
## Blogging Platform
- implementing user authentication with Flask-Login and Werkzeug.
- registering new users and generating confirmation tokens with itsdangerous.
- managing roles and permissions for users, moderators and administrators.
- handling user profiles and displaying user avatars with Gravatar.
- building a blogging feature by reusing templates.
- paginating item lists and creating fake blog post data with Faker.
- enabling rich-text posts with Markdown and Flask-PageDown.
- displaying followers on the profile page.
- showing followed posts on the home page.
- handling comment moderation.
## RESTful API
- using a Flask-based RESTful API to expose app functionality to smartphones, tablets and other third-party clients.
- managing user authentication with Flask-HTTPAuth and generating tokens.
- serializing resources to and from JSON.
- handling pagination of large resource collections.
- testing web services with HTTPie.
## Testing
- learning how to run unit tests with Coverage, Flask test client and Selenium.
- enhancing application performance by logging slow database performance and high CPU consumption.
## Deployment
- deploying with a PostgreSQL database.
Based on [Flask Web Development](https://www.amazon.fr/Flask-Web-Development-Developing-Applications/dp/1491991739) by Miguel Grinberg (2nd edition, 2018)