Skip to content

CurrentDao-org/CurrentDao-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

206 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CurrentDao Backend — Cross-Border Energy Trading Platform

A comprehensive NestJS backend for international energy trading with compliance, multi-currency support, regulatory reporting, and real-time analytics.

Features

  • Cross-border energy trading with multi-currency support
  • Compliance and regulatory reporting modules
  • Risk management and fraud detection
  • Energy market forecasting and analytics
  • Microgrid management and smart grid integration
  • Settlement, pricing, and fee management
  • Security, authentication, and audit workflows
  • Webhooks, API gateway, and health endpoints
  • OpenTelemetry tracing and Prometheus metrics

Getting Started

Prerequisites

  • Node.js >= 18.x
  • npm

Install

npm install

Run

npm run start:dev   # development
npm run build       # production build
npm run start:prod  # production

Test

npm run test        # unit tests
npm run test:cov    # with coverage
npm run test:e2e    # end-to-end tests

Lint

npm run lint

Architecture

The application is built with NestJS and follows a modular structure. Key modules:

Module Description
auth/ security/ Authentication, authorization, security scanning
compliance/ Regulatory reporting and compliance checks
pricing/ fees/ Dynamic pricing and fee calculation
settlement/ Trade settlement and netting
forecasting/ Energy market forecasting
market-data/ energy/ Market data ingestion and energy management
microgrid/ Smart grid integration and load balancing
monitoring/ tracing/ OpenTelemetry, Prometheus, health checks
logging/ Structured logging and log retention
webhooks/ Outbound webhook delivery
integration/ analytics/ Third-party integrations and BI analytics
currency/ cross-border/ Multi-currency and cross-border transactions
transactions/ matching/ High-volume transaction processing and order matching

Infrastructure

  • Docker: Dockerfile, docker-compose.yml
  • Kubernetes: k8s/ — see README-K8S.md
  • Terraform: terraform/
  • CI/CD: .github/workflows/
  • Logging stack: logstash/, elasticsearch/, kibana/ — see LOGGING_MONITORING_GUIDE.md

Documentation

License

UNLICENSED

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages