/flaskr

Flask blog based on tutorial

Primary LanguagePython

Flask-based blog webapp

This is a blog webapp I developed using Flask and SQLite. I followed a TDD approach, starting from the Flaskr tutorial and going on to implement the following features:

  • New responsive HTML+CSS layout and style from scratch
  • Paging
  • Markdown and sanitized HTML in posts
  • Uploading images with posts
  • Search function
  • "Liking" posts
  • Commenting on posts
  • Tagging posts
  • RSS feed
  • Database indexes to speed up common queries
  • Database views to eliminate repeated SQL queries
  • Recaptcha for user registration, post creation, comment submission
  • Redirect to comment anchor after submission
  • Rate limiting for user registration, posting and commenting
  • Summarize post body

Pending features:

  • OAuth
  • "Forgot password" email
  • Allow changing password
  • Show times in local timezone
  • Like post without refreshing page
  • CSRF protection