Add ChatGPT handover snapshot script and project context

This commit is contained in:
rob
2026-11-04 13:18:42 +00:00
parent 1ccba36a4e
commit 03e15dd531
9 changed files with 265 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
# Foldershare project overview
Stable facts here are based on repository source and configuration as inspected on 2026-11-04. This is not a runtime or deployment verification record.
## 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. No repository-defined API test command or test suite is tracked.
- 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`