Skip to content

GameChangable/atraport-api

Repository files navigation

AstraPort API

Minimal scaffold for AstraPort API (NestJS)

Getting started

Install and run in development:

npm install
npm run start:dev

Run tests:

npm test

Build and run production image:

npm run build
docker build -t astraport-api .
docker run -p 3000:3000 astraport-api

AstraPort API

AstraPort API is the backend service built with NestJS.
It exposes endpoints for portfolio analysis, risk scoring, and integration with Stellar smart contracts.

Repo Structure

  • /docs → API usage and endpoint documentation
  • /examples → Example API calls and integrations
  • /src → NestJS modules and services

Modules

  • Auth: JWT-based authentication
  • Portfolio: Endpoints for wallet and market data
  • Risk: Endpoints for risk scoring (from Core AI)
  • Contracts: Integration with Soroban smart contracts

Tech Stack

  • NestJS (TypeScript)
  • PostgreSQL
  • TypeORM
  • Stellar SDK

Getting Started

  1. Clone the repo
  2. Install dependencies: npm install
  3. Run the server: npm run start:dev

Examples

See /examples for sample API requests and integrations.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors