PDF2Docs

Installation

Lancer le frontend et le backend localement.

Prérequis

  • Node.js 20+ et pnpm
  • Docker (workers backend)
  • PostgreSQL + RabbitMQ sur l’hôte

Frontend

cd frontend
pnpm install
pnpm dev

L’app écoute sur http://localhost:3000.

Backend

cd backend
docker compose --env-file ../.env up -d --build

API typique : http://localhost:8000.

Vérification

curl http://localhost:8000/healthz

Réponse attendue : OK.

Variable d’environnement

Configurez NEXT_PUBLIC_API_URL dans frontend/.env si l’API n’écoute pas sur :8000.

Services exposés

ServiceURLRôle
APIhttp://localhost:8000Upload, statut, contenu
Traefikhttp://localhost:8080Routage /api
Grafanahttp://localhost:3001Dashboards workers

On this page