Skip to main content

Development Workflows

Running Backend in Development Mode​

Want to work on the Device Manager backend? Start it in development mode:

$ just dev-backend

This will:

  • ✅ Ensure Data Orchestrator is running
  • 🐘 Start supporting services (PostgreSQL, MinIO, Registry)
  • 🔥 Run the backend with mix phx.server for hot reloading
  • 🌐 Make the API available at http://localhost:4000

Running Frontend in Development Mode​

To work on the frontend:

$ just dev-frontend

This starts the Vite dev server with hot module replacement at http://localhost:5173.

Running Both in Parallel​

Open two terminal windows and run:

# Terminal 1
$ just dev-backend

# Terminal 2
$ just dev-frontend