PrintHeritage ships as a fully containerised stack, so the fastest path from zero to a running instance is Docker Compose. In this guide you will clone the repository, spin up the three-service stack, and make your first authenticated API request — all in under five minutes. No local Python or Node.js installation is required.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/joaomonteir0/printheritage/llms.txt
Use this file to discover all available pages before exploring further.
The default super-admin account (
super@print.com / password123) is seeded automatically on first startup. Change these credentials immediately before exposing any instance to a network. See Deployment for how to override environment variables.Prerequisites
Before you begin, make sure the following tools are installed and available on yourPATH:
| Tool | Minimum version | Check |
|---|---|---|
| Docker | 24.x | docker --version |
| Docker Compose | v2.x (plugin) | docker compose version |
| Git | 2.x | git --version |
Steps
Start the stack
A single command builds the images and starts all three services — the PostgreSQL database, the auth API, and the React front-end:Docker Compose respects the The auth API is now reachable at http://localhost:8001 and the front-end at http://localhost:3000.
depends_on chain, so the database starts first, followed by auth-service, and finally front-end. Wait until you see output similar to:Log in and retrieve a token
The A successful response returns a JSON object containing your bearer token:Tokens are signed with HS256 and expire after 60 minutes.
/login endpoint follows the OAuth2 password flow and expects application/x-www-form-urlencoded form data with username and password fields. Use the seeded super-admin account for your first call:Fetch your profile with GET /me
Pass the token as a The response contains the full user record for the currently authenticated account:
Bearer header to the /me endpoint to confirm authentication is working and inspect the authenticated user’s profile:Open the front-end
Navigate to http://localhost:3000 in your browser. The React application is pre-configured to talk to the auth service at
http://localhost:8001 and will redirect you to the login page. Sign in with the same super-admin credentials.What’s next?
Deployment Guide
Learn how the Docker Compose stack is structured, configure environment variables, and prepare PrintHeritage for production.
API Reference
Explore the full PrintHeritage REST API — projects, users, invitations, audit logs, and more.