Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jimizai/type-foxx

a simple http server framework for Node.js
https://github.com/jimizai/type-foxx

injectable koa monorepo nodejs nx typescript

Last synced: 10 days ago
JSON representation

a simple http server framework for Node.js

Awesome Lists containing this project

README

        

### Quick start

```shell
$ npm install -g @jimizai/foxx-cli
$ foxx init
```

### Hello foxx

```typescript
// main.ts
import { boostrap } from '@jimizai/core';
import { KoaFoxxDriver } from '@jimizai/driver-koa';
import './app/home.controller';

boostrap({
Driver: KoaFoxxDriver,
srcDirs: [],
});

// app/home.controller.ts
import { Get, Controller } from '@jimizai/decorators';

@Controller()
export class HomeController {
@Get()
home() {
return 'hello foxx';
}
}
```

### Quick started

- [simple](https://github.com/jimizai/type-foxx/tree/2.x/apps/simple) - A simple example to quick start use foxx