A blog application done to apply core concepts as learned from the official flask documentation. It involved:
- REST API (Users are able to register, log in, create posts, and edit or delete their own posts.)
- Authentication, registering blueprints, sessions and cookies, protected routes.
- SQLite database for users and posts
- Template views
- Tests
- Deployment or packaging and installing the application on other computers.
Index | Create post |
You can register and checkout the blog -> here
pip install -e .
flask --app flaskr init-db
flask --app flaskr run
The blog is deployed using heroku pipelines.
heroku push staging main
heroku pipelines:promote --remote prod
coverage run -m pytest && coverage report