A REST API service for tracking quantum computing conferences (QIP, QCrypt, TQC), built with Rust and PostgreSQL.
Live: https://quantumdb.iaqi.org
QuantumDB provides a comprehensive system for tracking:
- Conference events and their details
- Publications and presentations
- Author profiles and contributions
- Committee memberships and roles
- Video recordings and presentation materials
- Architecture - System design and technical stack
- Database Schema - Detailed database structure
- Testing - Test suite and development testing guide
- Data Population - CSV-based scrape/import data pipeline
- Data Ingestion Plan - Per-conference data inventory and working plan
- Deployment - Deploy guide + operations runbook for the live instance
- CLAUDE.md - Detailed development guide (commands, workflow, conventions)
- Backend:
- Rust with Axum web framework
- PostgreSQL database with full-text search capabilities
- SQLx for type-safe database queries
- OpenAPI/Swagger UI for interactive API documentation
- Unicode normalization for author name processing
- REST API with CRUD operations for all entities
- Track conference details (dates, locations, URLs)
- Archive URLs for static website backups
- Monitor submission and acceptance statistics
- Store proceedings and website links
- Full paper metadata
- Author affiliations
- Presentation materials
- Video recordings
- DOI integration
- Publication history
- Committee service records
- ORCID integration
- Affiliation tracking
- Program Committee tracking
- Steering Committee records
- Local organizer information
- Historical service records
-
Clone and Configure
git clone https://github.com/IAQI/QuantumDB.git cd QuantumDB # Generate API token ./tools/generate_token.sh # Add token to .env file (or set as environment variable) echo "API_TOKENS=your-generated-token" >> .env
-
Start Services
# Build and start (PostgreSQL + QuantumDB + PgAdmin) docker compose up -d --build # Check logs docker compose logs -f app
-
Access the Application
- Web Interface: http://localhost:3000
- Swagger UI: http://localhost:3000/api/v1/swagger-ui/
- PgAdmin: http://localhost:5050 ([email protected] / quantumdb)
-
Prerequisites
# Install Rust curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # Install PostgreSQL brew install postgresql@15 # Install development tools cargo install sqlx-cli cargo-watch cargo-audit
-
Environment Configuration
# Create .env file cat > .env << EOF DATABASE_URL=postgres://quantumdb:quantumdb@localhost:5432/quantumdb API_TOKENS=$(./tools/generate_token.sh) EOF
-
Database Setup
# Start PostgreSQL brew services start postgresql@15 # Create database createdb quantumdb # Run migrations sqlx migrate run
-
Run the Application
# Development mode with auto-reload cargo watch -x run # Production mode cargo run --release
-
Access Services
- Web Interface: http://localhost:3000
- Swagger UI: http://localhost:3000/api/v1/swagger-ui/
QuantumDB provides a user-friendly web interface for browsing and exploring quantum computing conference data:
- Homepage - Overview and quick access to key resources
- About Page - Project information and IAQI branding
- Author Directory - Browse and search researchers in quantum computing
- Conference Browser - Explore conferences by venue (QIP, QCrypt, TQC), with per-conference business-meeting stats where known
- Publications Browser - Full-text search over titles, abstracts, and author names
- Dynamic Loading - HTMX-powered for smooth, fast navigation
Interactive API Explorer: Visit /api/v1/swagger-ui/ when running the server for complete interactive API documentation with live testing capabilities.
All API endpoints are fully documented with request/response schemas, examples, and try-it-now functionality. The REST API is versioned under /api/v1/.
Hardening: every response carries security headers (X-Frame-Options, X-Content-Type-Options, etc.), requests are rate-limited per IP, and CORS is applied. See CLAUDE.md for the middleware stack details.
Write operations (POST, PUT, DELETE) and admin endpoints require Bearer token authentication. All read operations (GET) remain publicly accessible.
Generating API Tokens:
# Generate a secure token using the included script
./tools/generate_token.sh
# Or manually with openssl
openssl rand -base64 32 | tr -d '=/' | tr '+' '-'Using Authentication:
# Include the token in the Authorization header
curl -H "Authorization: Bearer YOUR_TOKEN_HERE" \
-X POST \
-H "Content-Type: application/json" \
-d '{"venue": "QIP", "year": 2026, "creator": "you", "modifier": "you"}' \
http://localhost:3000/api/v1/conferencesSetting Up Tokens:
-
Generate a Token:
./tools/generate_token.sh
-
Configure for Docker: Add to your
.envfile (gitignored):API_TOKENS=your-secure-token-here
Docker Compose will automatically load environment variables from
.env. -
Configure for Local Development: Set as environment variable:
export API_TOKENS=your-secure-token-here cargo run -
Multiple Users: Support multiple tokens (comma-separated):
API_TOKENS=token1,token2,token3
Protected Endpoints:
- All POST, PUT, DELETE operations on
/api/v1/conferences,/api/v1/authors,/api/v1/publications,/api/v1/committees,/api/v1/authorships GET /admin/refresh-stats(admin materialized view refresh)
Public Endpoints:
- All GET operations (read-only access)
- Web interface routes
/healthendpoint- Swagger UI documentation
Token Requirements:
- Minimum 32 characters
- The token body is opaque — any character set is accepted
- Use cryptographically secure random generation
- Comparison is constant-time (
subtlecrate) against every configured token - Store securely and never commit to version control
The API provides full CRUD operations (all under the versioned /api/v1/ prefix) for:
/api/v1/conferences # Conference management
/api/v1/publications # Publication tracking (list supports ?search= full-text)
/api/v1/authors # Author profiles
/api/v1/authorships # Author-publication relationships
/api/v1/committees # Committee role management
/api/v1/stats/conferences # Read-only per-conference stats time series
Bulk exports (read-only, denormalized, CC0). One request returns a whole conference, or the whole dataset, with authors inline:
/api/v1/export/all.json # Index of every conference + export URLs
/api/v1/export/all-full.json # Everything, nested, in one file
/api/v1/export/authors.json # All authors (slug, ORCID, Scholar id, activity)
/api/v1/export/conferences/{slug} # One conference as JSON (slug: qip-2015 or QIP2015)
/api/v1/export/conferences/{slug}/talks.csv # Same columns as data/conferences/*/talks.csv
/api/v1/export/conferences/{slug}/posters.csv
/api/v1/export/conferences/{slug}/committees.csv
Discovery for crawlers and AI agents: /robots.txt, /sitemap.xml and /llms.txt. The pages also embed schema.org JSON-LD: Dataset on the home and about pages, Event on conference pages, Person on author pages.
All endpoints are documented with:
- Request/response schemas
- Example payloads
- Live testing interface
- OpenAPI 3.0 specification at
/api/v1/openapi.json
See TESTING.md for testing instructions and DATABASE_SCHEMA.md for the complete database structure.
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
- Code: MIT License.
- Data (
data/and everything served by https://quantumdb.iaqi.org, including the API and bulk exports): CC0 1.0, a public domain dedication. Seedata/LICENSE. Abstracts, slides and recordings remain the property of their authors. - Citation: requested, not required. See
CITATION.cff.