A prototype front-end application for exploring and searching the GLOBALISE project's historical document collections. Built on top of @knaw-huc/panoptes-react, it provides a configurable, embeddable interface for faceted search and document detail views.
- React 19 + TypeScript — component-based UI
- Vite — fast development and build tooling
- i18next — internationalization with English and Dutch support
- Docker + Nginx — containerized production deployment
The app is configured via environment variables at build time (or runtime via shell variable substitution):
| Variable | Description |
|---|---|
VITE_PANOPTES_URL |
Base URL of the Panoptes API |
VITE_PANOPTES_DATASET |
Dataset identifier to load |
VITE_PANOPTES_SEARCH_PATH |
URL path for the search view |
VITE_PANOPTES_DETAIL_PATH |
URL path for the document detail view |
VITE_PANOPTES_IS_EMBEDDED |
Set to true if embedding in another application |
npm install
npm run devdocker build -t globalise-prototype .
docker run -p 8080:80 globalise-prototype