Skip to content

feat: add Docker support, docker-compose, eslint config, and Stellar tests#172

Merged
AbelOsaretin merged 1 commit into
Heliobond:mainfrom
ogazboiz:feat/issues-94-95-96-97
Jul 1, 2026
Merged

feat: add Docker support, docker-compose, eslint config, and Stellar tests#172
AbelOsaretin merged 1 commit into
Heliobond:mainfrom
ogazboiz:feat/issues-94-95-96-97

Conversation

@ogazboiz

@ogazboiz ogazboiz commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add Docker support with Dockerfile #94: Added multi-stage Dockerfile with health check, .dockerignore, and production-optimised image using node:22-alpine.
  • Add docker-compose.yml for local development #95: Added docker-compose.yml with backend service + Redis 7, volume mounts for development, and healthcheck conditions.
  • Improve test coverage to 80%+ #96: Added eslint.config.mjs (was missing, causing the lint-staged hook to fail on all TS commits), and added src/__tests__/stellar.test.ts with 14 unit tests covering getRpcStatus, isRpcAvailable, isRpcOutageExtended, getAdminKeypair, and RpcDegradedError.
  • Add integration tests with Stellar testnet #97: Added src/__tests__/stellar-testnet.test.ts with integration tests for Friendbot account funding, RPC connectivity, and error recovery. Tests auto-skip unless STELLAR_NETWORK=testnet and ADMIN_SECRET_KEY are set.

Test plan

  • npm test passes locally
  • New stellar tests run without env vars (14 pass, 5 skip)
  • docker build . produces a valid image
  • docker compose up starts backend + redis with healthchecks

Closes #94
Closes #95
Closes #96
Closes #97

@drips-wave

drips-wave Bot commented Jul 1, 2026

Copy link
Copy Markdown

@ogazboiz Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@AbelOsaretin AbelOsaretin merged commit 05e4220 into Heliobond:main Jul 1, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants