Web Technologies/2021-2022/Assignment 2

Non-negociable submission rules:

  • Submission should a single file in .zip format (NOT .rar or .7z).
  • Name the file you submit <firstname>_<lastname>.zip.
  • Code must be original (i.e. not identical to other submissions).
  • Code must NOT be generated using gen-AI tools such as ChatGPT.
  • Any submissions after the deadline are automatically disregarded.

Exercises

edit

Implement the solution proposed in Laboratory 9, regarding a minimalist blog application, and also add the following features:

  • Create all the Jinja2 templates needed, making use of the template extension mechanism
  • Extend the application in order to implement post read counts. Whenever a post is visited, increment it's by 1.
  • Create 1 additional SQLAlchemy Model that would fit within the scope of the this application.

Optional: build a Docker image in order to run your Flask application using the tiangolo-uwsgi-nginx-flask image (see laboratory 7).