JSPM

  • Created
  • Published
  • Downloads 1769
  • Score
    100M100P100Q105802F
  • License MIT

Package Exports

  • @alepha/server

Readme

@alepha/server

Installation

npm install @alepha/server

Usage

import { Alepha, route } from "@alepha/server";

class App {
  index = route({
    handler: () => "Hello, World!",
  });
}

Alepha
  .create({
    SERVER_PORT: 3000,
    SERVER_OPENAPI_ENABLED: true,
    SERVER_SECURITY_ENABLED: true,
  })
  .with(App)
  .start();