A-Server SDK
A powerful SDK for building modular, scalable TypeScript backends — routing, entity management, CORS, health monitoring and more, on the A-Concept ecosystem.
A-Server is a powerful SDK for building modular, scalable backend servers with TypeScript. It provides a comprehensive set of components for routing, entity management, CORS handling, health monitoring and more — all built on the ADAAS ecosystem. Every capability is composed as an A-Concept component, so a server is assembled from decorator-based controllers, repositories and services rather than loose middleware.
What makes A-Server SDK worth your time.
- Modular architecture — a component-based server structure composed from A-Concept primitives.
- Decorator-based routing — A_Router with automatic parameter parsing and validation.
- Entity management — A_EntityController + A_EntityRepository for advanced CRUD with the repository pattern.
- Advanced listing — A_ListingController adds filtering, sorting and pagination out of the box.
- Built-in security — A_ServerCORS, A_ServerProxy and structured error handling.
- Health monitoring — A_ServerHealthMonitor exposes /health, /health/detailed and /metrics.
- Static file serving — A_StaticLoader with configurable asset directories.
- Environment-based configuration and comprehensive built-in logging (A_ServerLogger).
Install A-Server, compose the server components into a service, then load and start the concept.
- Install from npm
npm install @adaas/a-server - Assemble the server service
const Server = new A_Service({ components: [A_ServerLogger, A_Router, A_EntityController, A_ServerHealthMonitor, A_ServerCORS] });import { A_Service, A_Router, A_EntityController, A_ServerLogger, A_ServerHealthMonitor, A_ServerCORS } from '@adaas/a-server';
- Create and start the concept
const concept = new A_Concept({ name: 'my-server', containers: [SharedConfig, Server], fragments: [config] }); await concept.load(); await concept.start();
Get A-Server SDK on your platform.
ResourcesSystem requirements- Runtime
- Node.js 18 LTS or newer
- Language
- TypeScript (built-in type declarations)
- Peer dependencies
- @adaas/a-concept, @adaas/a-utils

