Files
FolderShare/docs/PROJECT_OVERVIEW.md
T

2.6 KiB

Foldershare project overview

Stable facts here are based on repository source and configuration. Runtime and deployment evidence belongs in CURRENT_STATE.md.

Product and architecture

The repository contains a folder-sharing web application. react/ is a React 18, Vite, React Bootstrap frontend with login, file-browser, and user-management views. api/ is a Flask API with token authentication, user and file routes, Flask-SQLAlchemy models, and Flask-Migrate migrations. The API config selects a local SQLite database. The Vite development server proxies /api to http://localhost:5000.

Repository layout

  • api/api.py, api/settings.py, api/routes/, api/models/, api/migrations/: backend entrypoint, configuration, routes, data models, and migrations.
  • react/src/: frontend views, components, routing, auth context, and SCSS.
  • react/package.json: frontend dependencies and scripts.
  • react/README.md: upstream Vite template README; it does not define a project workflow.

Development and validation evidence

  • react/package.json defines npm run dev, npm run build, npm run lint, and npm run preview.
  • react/vite.config.js defines the development API proxy.
  • api/config/requirements.txt lists Python dependencies. Run python -m unittest discover -s api/tests -v from the repository root with the API environment to exercise the tracked API regression suite.
  • No tracked CI, container, deployment, Git workflow, or manual-test/testtask documentation was found during reconciliation.
  • Existing UI styling references are react/src/styles/ and component *.module.scss files; no separate style guide is tracked.

Local environment files and runtime data under api/ are ignored by Git. Their contents are not part of this overview.

Context map

  • Current state: docs/CURRENT_STATE.md
  • Durable decisions and pending convention proposals: docs/DECISIONS.md
  • Accepted implementation work: docs/TASKS.md
  • Replaceable transfer snapshot: docs/HANDOFF.md

Product direction accepted 2026-11-04 (requirements; not verified implementation)

FolderShare is intended as a private, read-only, authenticated file browser and downloader for selected friends, hosted on a Raspberry Pi on Captain's LAN. The Pi will access an existing video library through a shared/mounted folder. Captain administers accounts and each account's accessible folder. An intended hostname is share.roborto.net (subject to DNS/network-access design). V1 permits browsing and single-file downloads; multi-select file/folder ZIP downloads are deferred. These are product requirements, not claims that the current application implements them safely.