The backend service for AnchorPoint, providing API endpoints for Stellar Anchor operations as per SEPs 1, 10, 12, and 24.
- Node.js: Runtime environment.
- TypeScript: Typed JavaScript for robustness.
- Express: Fast, unopinionated, minimalist web framework.
- Jest & Supertest: Testing framework and HTTP assertion library.
- ESLint: Linter for identifying and reporting on patterns in JavaScript/TypeScript.
- Node.js (v18 or higher)
- npm
From the monorepo root:
npm run install:allOr from the /backend directory:
npm installTo start the development server with auto-reload:
npm run devTo compile TypeScript to JavaScript:
npm run buildTo run tests:
npm testTo run tests with coverage report:
npm run test:coverageCurrent coverage threshold is set to 95% for branches, functions, lines, and statements.
To run the linter:
npm run lint