feat: implement backend database schema, repository layer, and integration tests - #49
Merged
vestor-dev merged 3 commits intoJul 18, 2026
Conversation
…ation tests for assets, agents, licenses, reports, and event logs.
vestor-dev
requested changes
Jul 18, 2026
vestor-dev
left a comment
Collaborator
There was a problem hiding this comment.
remove the cargo.lock file and it should be good to go
Bolajiomo99
added a commit
to Bolajiomo99/cortex-protocols
that referenced
this pull request
Jul 19, 2026
…ortexRail#49 PostgreSQL_persistence_layer merged code that requires `pg` and `@testcontainers/postgresql` without adding them to package.json, and referenced `./routes/internal` from app.js without ever committing that file — so a fresh install can't boot the app or run the test suite at all. Also bumps the Stellar SDK compat shim since installed 13.x releases renamed `SorobanRpc` to `rpc`, breaking config/stellar.js on load. Reconstructs routes/internal.js (GET /api/v1/internal/db-stats) from the existing (already-committed) test contract in internal.test.js.
vestor-dev
pushed a commit
that referenced
this pull request
Jul 21, 2026
* fix(backend): repair boot-blocking dependency and file gaps from PR #49 PostgreSQL_persistence_layer merged code that requires `pg` and `@testcontainers/postgresql` without adding them to package.json, and referenced `./routes/internal` from app.js without ever committing that file — so a fresh install can't boot the app or run the test suite at all. Also bumps the Stellar SDK compat shim since installed 13.x releases renamed `SorobanRpc` to `rpc`, breaking config/stellar.js on load. Reconstructs routes/internal.js (GET /api/v1/internal/db-stats) from the existing (already-committed) test contract in internal.test.js. * feat(stellar): add testnet friendbot funding endpoint and frontend integration Adds POST /api/v1/stellar/fund so developers can fund a Testnet account via Stellar Friendbot without leaving the app: blocked on Mainnet (403), rate-limited to 1 request per IP per hour (429), and validated against malformed public keys (400). The wallet page shows a "Fund with Testnet XLM" button only when connected to Testnet with a 0 XLM balance, and refreshes the balance automatically after funding. Also adds Jest + React Testing Library to the frontend (previously had no test tooling) to cover the new button's states. Closes #33. * chore(frontend): remove package-lock.json Frontend now uses pnpm (frontend/pnpm-lock.yaml), making the npm package-lock.json redundant. Per maintainer request on the PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
feat: implement backend database schema, repository layer, and integration tests) for assets, agents, licenses, reports, and event logs.
closes #9