Try the latest deployed version of the xAPI App directly in your browser!
https://e-ucm.github.io/xapi-app/
The GitHub Pages deployment is automatically updated on every push to
main.Note: Some features may require a backend or specific environment variables.
For full functionality, see local or Docker usage below.
This project is a containerized web application for xAPI data handling and visualization. It uses Docker Compose for orchestration and includes a frontend (Vite + React/TypeScript), a Caddy reverse proxy, and supporting scripts for development and production.
- Frontend built with Vite, React, and TypeScript
- Caddy server for HTTPS/HTTP reverse proxy
- Docker Compose orchestration
- Environment-based configuration
- Easy start/stop/restart/build/logs via scripts
- Docker and Docker Compose
- (Optional) Node.js and pnpm for local frontend development
git clone <repo-url>
cd xapi-appCopy the template and edit as needed:
cp .env.template .env
# Edit .env with your preferred settingsUse the provided script to manage the app:
./run.sh start./run.ps1 startstart: Bring up containers (docker compose up)stop: Stop and remove containers (docker compose down)restart: Stop then start (default)build: Build or rebuild services (docker compose build)logs: Follow container logs (docker compose logs -f)status: Show running containers (docker compose ps)exec: Execute a command in a running container (docker compose exec)backup: Run backup scripts (custom, if implemented)restore: Run restore scripts (custom, if implemented)help: Show help message
- The frontend will be available at the URL shown in the logs (typically http://localhost or https://localhost).
- Caddy handles HTTPS if enabled in
.env.
- The frontend source is in
app/. - To run the frontend locally (without Docker):
cd app pnpm install pnpm dev
app/: Frontend source code (Vite + React)caddy/: Caddy reverse proxy configdocker-compose.yml: Main Docker Compose filerun.sh/run.ps1: Management scripts.env.template: Example environment config
MIT or as specified in the repository.