Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jimizai/type-foxx
- Owner: jimizai
- Created: 2020-07-11T05:31:23.000Z (over 4 years ago)
- Default Branch: 2.x
- Last Pushed: 2022-11-11T22:50:51.000Z (about 2 years ago)
- Last Synced: 2025-01-18T04:05:14.993Z (18 days ago)
- Topics: injectable, koa, monorepo, nodejs, nx, typescript
- Language: TypeScript
- Homepage:
- Size: 2.11 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
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