Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.57 KB

File metadata and controls

53 lines (37 loc) · 1.57 KB

ToTEM

ToTEM is a Flask app that allows users at Berea College to upload stories and images, which are then accessible via unique URLs and QR codes. This is a simple application for a project, and is not meant to be duplicated without adding security measures, or a different database to handle concurrency. It serves as a digital storytelling platform where items can be linked to digital information through the generated QR codes.

Tech Stack

  • Backend Framework: Flask (Python)
  • Database: TinyDB (Lightweight document-oriented database)
  • QR Code Generation: Flask-QRcode
  • Frontend: HTML5, CSS, JavaScript
  • Package Manager: uv

Prerequisites

Running the Application

To start the Flask development server:

uv run python app.py

Managing Dependencies with uv

  • Add a new package:

    uv add <package-name>
  • Remove a package:

    uv remove <package-name>
  • Update packages:

    uv lock --upgrade

Hosting on server

Currently set up to port 5001. Server's firewall needs to allow incoming traffic to this port.

Students will need to be on the same wifi network.