This quick guide covers the fastest way to run Integration Gateway with accurate current defaults.
git clone https://github.com/varaprasadreddy9676/integration-control-plane.git
cd integration-control-planeOptional .env overrides:
cat > .env <<'EOF'
API_KEY=change_me_dev_key
JWT_SECRET=change_me_dev_secret
MONGODB_URI=mongodb://mongodb:27017/integration_gateway
MONGODB_DATABASE=integration_gateway
FRONTEND_URL=http://localhost
EOFStart stack:
docker compose up -d --buildVerify:
docker compose ps
curl http://localhost:3545/
curl http://localhost:3545/healthOpen:
- UI:
http://localhost/integration-gateway/(root URL also works) - API base:
http://localhost:3545/api/v1
Health semantics:
GET /is liveness.GET /healthreports dependency/system health and may return non-200 when degraded.
cd backend
npm installConfigure either env vars or config.json:
export MONGODB_URI="mongodb://localhost:27017/integration_gateway"
export MONGODB_DATABASE="integration_gateway"
export API_KEY="change_me_dev_key"
export JWT_SECRET="change_me_dev_secret"
npm run devcd frontend
npm install
cp .env.example .env
npm run devFrontend dev server default: http://localhost:5174
Ensure frontend/.env contains:
VITE_API_BASE_URL=http://localhost:3545/api/v1VITE_API_KEY=<same as backend API_KEY>
Docker logs:
docker compose logs -f backend
docker compose logs -f frontend
docker compose logs -f mongodbBackend file logs (inside container):
docker compose exec backend sh -lc "ls -la /app/logs"Create first admin user (Docker stack):
docker compose exec backend node scripts/create-user.js \
--email admin@example.com \
--password 'ChangeMe123!' \
--role ADMIN