alepha
Version:
Alepha is a convention-driven TypeScript framework for building robust, end-to-end type-safe applications, from serverless APIs to full-stack React apps.
48 lines (38 loc) ⢠1.39 kB
Markdown
<div align="center">
<h1 >
<img
src="https://raw.githubusercontent.com/feunard/alepha/main/assets/logo.png"
width="128"
height="128"
alt="Logo"
valign="middle"
/>
Alepha
</h1>
<p style="max-width: 512px">
š§
</p>
<a href="https://www.npmjs.com/package/alepha"><img src="https://img.shields.io/npm/v/alepha.svg" alt="npm"/></a>
<a href="https://www.npmjs.com/package/alepha"><img src="https://img.shields.io/npm/l/alepha.svg" alt="npm"/></a>
<a href="https://codecov.io/gh/feunard/alepha"><img src="https://codecov.io/gh/feunard/alepha/graph/badge.svg?token=ZDLWI514CP" alt="npm"/></a>
<a href="https://www.npmjs.com/package/alepha"><img src="https://img.shields.io/npm/dt/alepha.svg" alt="npm"/></a>
<a href="https://github.com/feunard/alepha"><img src="https://img.shields.io/github/stars/feunard/alepha.svg?style=social" alt="GitHub stars"/></a>
</div>
Alepha is a convention-driven TypeScript framework for building robust, end-to-end type-safe applications, from serverless APIs to full-stack React apps.
## Installation
```bash
npm install alepha
```
## Usage
Minimalist http server with a single endpoint.
```ts
import { run } from "alepha";
import { $action } from "alepha/server";
class App {
hello = $action({
handler: () => "Hello world!",
})
}
run(App);
```
š For more information, please visit the [documentation](https://feunard.github.io/alepha/).