Skip to main content

Quick Start

Use this page when you want to clone Service Lasso and run the checked-in baseline services.

Requirements

  • Node.js >=22
  • npm
  • Git
  • Network access to GitHub releases

If you use the bundled GitHub release artifact instead of cloning source, the baseline service archives are already present and first start should not need to download those service archives again.

1. Clone the Repo

git clone https://github.com/service-lasso/service-lasso.git
cd service-lasso

2. Install and Build

npm ci
npm run build

3. Start Service Lasso

node dist/cli.js start --services-root ./services --workspace-root ./workspace --port 18080 --json

This starts the Service Lasso API and runs the baseline service set from services/.

Keep this terminal open while you test. Stop it later with Ctrl+C.

4. Open the Useful URLs

URLPurpose
http://127.0.0.1:18080/api/healthService Lasso API health
http://127.0.0.1:18080/api/servicesdiscovered services and lifecycle state
http://127.0.0.1:17700/Service Admin UI
http://127.0.0.1:4010/Echo Service UI/API
http://127.0.0.1:19081/dashboard/Traefik dashboard

5. Stop Services

Before closing the runtime, stop managed services:

Invoke-RestMethod -Method Post http://127.0.0.1:18080/api/runtime/actions/stopAll

Then press Ctrl+C in the terminal running Service Lasso.

Reset Local Runtime Data

If you want to run from a clean local workspace again:

Remove-Item -Recurse -Force .\workspace

Release Artifact Options

GitHub releases publish two runtime archives:

ArtifactUse when
service-lasso-<version>.tar.gzyou want the lean runtime and will provide or keep your own services/ folder; services download during install/start when needed
service-lasso-bundled-<version>.tar.gzyou want the runtime plus the baseline services/ folder with service archives already acquired, so the baseline can start without first-run service downloads