RequestServer

This project also includes a simple and pure NodeJS implementation for the REST server implementing our Request annotated controllers:

import RequestServer from "./fi/hg/core/RequestServer";
const server = new RequestServer("http://0.0.0.0:3000");
server.attachController(UserController);
server.start();

You can also initiate a full example project using our builder script:

npm init @heusalagroup/backend ./foo-backend

The main files to start working are ./foo-backend/src/main.ts and ./foo-backend/src/controllers/BackendController.ts.

See also our ProcessUtils for best practices implementing complete runtime support.