Skip to content

feat: add API Service starter template - #76

Merged
dDevAhmed merged 1 commit into
mainfrom
feat/cli-030-api-service-template
Sep 8, 2026
Merged

feat: add API Service starter template#76
dDevAhmed merged 1 commit into
mainfrom
feat/cli-030-api-service-template

Conversation

@dDevAhmed

Copy link
Copy Markdown
Contributor

Summary

Implements CLI-030 by adding the trusted MVP api-service starter as a dependency-light Node.js backend with an explicit Stellar integration boundary.

This PR is temporarily stacked on CLI-029 so its diff remains isolated while PR #75 completes repository gates. After CLI-029 lands, this can target main directly.

Included

  • bundled api-service template wired into controlled template resolution
  • Node.js ESM service with no runtime dependencies
  • GET /health service health route
  • GET /stellar/network public network configuration route
  • validated API port and Stellar endpoint configuration
  • HTTPS enforcement for non-local Stellar endpoints
  • isolated src/stellar-client.js boundary with no fabricated SDK/network calls
  • .env.example using Testnet public endpoints only
  • .gitignore protecting local .env
  • generated README covering start, environment, test, and safe Stellar extension guidance
  • template-local tests using an ephemeral localhost port
  • CLI-level smoke test that generates the project and runs its check and test scripts

Security

  • no seed phrases, signing keys, credentials, or private-key fields
  • no remote template loading or arbitrary path loading
  • no outbound Stellar calls in generated tests
  • remote endpoint configuration rejects plain HTTP
  • SDK/signing functionality is intentionally not fabricated and remains behind a documented integration boundary

Closes #33

@dDevAhmed
dDevAhmed changed the base branch from feat/cli-029-smart-contract-template to main September 8, 2026 22:25
@dDevAhmed dDevAhmed closed this Sep 8, 2026
@dDevAhmed
dDevAhmed force-pushed the feat/cli-030-api-service-template branch from 6b101d4 to a01e862 Compare September 8, 2026 22:28
@dDevAhmed dDevAhmed reopened this Sep 8, 2026
@dDevAhmed
dDevAhmed merged commit f5f61a3 into main Sep 8, 2026
3 of 4 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

Development

Successfully merging this pull request may close these issues.

CLI-030 — Add API Service starter template

1 participant