Skip to main content

Monorepo structure

The Worlds Platform is organized as a monorepo containing the following packages:
PackageDescription
packages/serverImplements the core REST API.
packages/sdkOfficial TypeScript and Deno client.
packages/cliCommand-line tool for managing instances.
packages/docsDocumentation site using Mintlify.

Global tasks

Run common tasks from the root of the repository using Deno:
  • Start CLI: deno task start:cli
  • Start server: deno task start:server
  • Format code: deno task fmt
  • Lint code: deno task lint
  • Run tests: deno task test
  • Pre-commit check: deno task precommit

Troubleshooting

The console allocates ports starting from 8001. If you encounter conflicting services or lingering processes, run:
deno task reset
This command terminates all local Deno processes and resets the development lock. Alternatively, adjust the API base URL in the identity configuration and restart the console.