Welcome to StellarSplit 🚀
This guide helps new developers set up and contribute quickly.
- Node.js v20+
- PNPM or Yarn
- Docker
- PostgreSQL
- Redis
- Stellar Testnet account
apps/ frontend/ api/
packages/ shared/ ui/ config/
docs/
git clone https://github.com/your-org/stellarsplit.git cd stellarsplit
pnpm install
Create .env in apps/api:
DATABASE_URL= JWT_SECRET= REDIS_URL= STELLAR_NETWORK=testnet STELLAR_ISSUER= STELLAR_USDC_ASSET_CODE=USDC
docker-compose up -d
cd apps/api pnpm run start:dev
cd apps/frontend pnpm run dev
- Strict TypeScript
- Feature-based module structure
- DTO validation required
- No business logic in controllers
- Use service layer for blockchain calls
- Feature branches
- Conventional commits
- Pull request required
- CI must pass before merge
Unit Tests: pnpm run test
E2E Tests: pnpm run test:e2e
- Create folder in src/
- Add module.ts
- Add controller.ts
- Add service.ts
- Add DTO folder
- Register module in AppModule
- Use Stellar SDK
- Always validate transaction hash
- Confirm transaction success before updating DB
- Handle network timeout gracefully
- Keep PRs small
- Add tests for new features
- Update documentation
- Follow linting rules
- Stellar Docs: https://developers.stellar.org
- NestJS Docs: https://docs.nestjs.com
- Next.js Docs: https://nextjs.org/docs
StellarSplit aims to remove awkward money conversations by making crypto bill splitting instant and seamless.
Welcome to the team 💫