Files
papercrate/frontend
nils d7f221850f
ci / docker (backend, backend/Dockerfile, backend) (push) Successful in 19s
ci / docker (frontend, frontend/Dockerfile, frontend) (push) Successful in 1m1s
design
2025-10-14 12:21:39 +02:00
..
2025-10-12 14:07:02 +02:00
2025-10-14 12:21:39 +02:00
1
2025-10-09 22:16:29 +02:00
2
2025-10-10 09:39:58 +02:00
2025-10-12 13:40:27 +02:00
2025-10-12 13:40:27 +02:00
2025-10-12 01:59:26 +02:00
2025-10-14 12:21:39 +02:00
2025-10-14 12:21:39 +02:00
2025-10-12 02:35:56 +02:00
2025-10-12 18:55:58 +02:00

Papercrate Frontend

A minimal Webpack-powered SPA to interact with the Papercrate Milestone 1 backend.

Prerequisites

  • Node.js 18+
  • Backend API running locally on http://127.0.0.1:3000

Setup

cd frontend
npm install

Development

npm run dev
  • Starts webpack-dev-server on http://localhost:5173
  • Proxies /api requests to the backend (no CORS needed)
  • Edit files in src/ and the browser reloads automatically

Production Build

npm run build
  • Output written to dist/
  • Set API_BASE_URL in .env.local if the API is not served from the same origin.

Features

  • Finder-style layout: folder tree, document table, and detail pane with metadata & tags
  • Drag-and-drop moves (documents between folders) and file uploads (window-wide or onto a folder)
  • Search box plus tag chips filter documents across the selected folder and all descendants
  • Tag management (create/assign/remove) from the detail panel
  • Login via the seeded admin account (admin / adminadmin) with stored JWT session
  • Inline status banner for quick feedback on API interactions