Skip to main content

Repositories

Open source code for Dyma lives under the Dyma-IO organization.

Application repos​

RepositoryDeploy targetStack
dyma-landingdyma.ioNext.js 15
dyma-clientapp.dyma.ioNext.js 15
dyma-studiostudio.dyma.ioNext.js 15
dyma-adminadmin.dyma.ioNext.js 15
dyma-apiapi.dyma.ioNestJS 11, Prisma 6
dyma-sharedpackage @dyma-io/shared (sibling file: dependency)TypeScript

Infrastructure repos​

RepositoryPurposeStack
dyma-contractscampaign reward escrow (factory + per-campaign escrow); a reputation contract placeholderRust / CosmWasm 2.2
dyma-indexerscaffold only, not used: the API verifies on-chain quests itselfRust
dyma-docsthis documentation siteDocusaurus 3
token-registrySafrochain chain, token, NFT and IBC registry (@safrochain/token-registry)JSON + TypeScript lint

Local development​

The apps consume dyma-shared as a sibling directory and read its compiled dist/, so clone the repositories side by side and build the shared package first:

mkdir dyma && cd dyma
git clone https://github.com/Dyma-IO/dyma-shared.git
git clone https://github.com/Dyma-IO/dyma-api.git
git clone https://github.com/Dyma-IO/dyma-client.git # and dyma-studio, dyma-admin, dyma-landing
cd dyma-shared && npm install && npm run build && cd ..
AppDev portEnv file
dyma-api4000.env (cp .env.example .env, then set JWT_SECRET and CREDENTIALS_MASTER_KEY)
dyma-landing3000.env (its scripts source it)
dyma-client3001.env.local
dyma-admin3002.env.local
dyma-studio3003.env.local

Each repository's README has the details. API Swagger: http://localhost:4000/docs. After changing dyma-shared, rebuild it (or run npm run dev there). If a Next.js dev server misses changes in this multi-repo layout, start it with WATCHPACK_POLLING=true.

CI and deployment​

Every repository has a GitHub Actions workflow on pull requests and main (Node 22) and a deploy/ folder with a release-based deploy script and an nginx vhost. See Deployment.

Documentation site​

This site is built with Docusaurus and published to GitHub Pages:

https://dyma-io.github.io/dyma-docs/

To run locally:

git clone https://github.com/Dyma-IO/dyma-docs.git
cd dyma-docs
npm install
npm start