Package Exports
- @alepha/server
Readme
@alepha/server
Installation
npm install @alepha/serverUsage
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();