Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jiawei397/deno-nest

Refer to nestjs to realize some common functions for Deno, support hono and oak
https://github.com/jiawei397/deno-nest

deno hono nest nestjs oak typescript

Last synced: about 2 months ago
JSON representation

Refer to nestjs to realize some common functions for Deno, support hono and oak

Awesome Lists containing this project

README

        

# deno_nest

[![deno version](https://img.shields.io/badge/deno-^2.0.0-blue?logo=deno)](https://github.com/denoland/deno)
[![Deno](https://github.com/jiawei397/deno-nest/actions/workflows/deno.yml/badge.svg)](https://github.com/jiawei397/deno-nest/actions/workflows/deno.yml)
[![codecov](https://codecov.io/github/jiawei397/deno-nest/graph/badge.svg?token=NKP41TU4SL)](https://codecov.io/github/jiawei397/deno-nest)

Rely on [[email protected]](https://deno.land/x/[email protected]/mod.ts) and
[[email protected]](https://deno.land/x/[email protected]/mod.ts) to simulate some
annotation functions of [NestJS](https://docs.nestjs.com/) which is a great
frame for Node.js.

You can change the `oak` or `Hono` version if need, but the safest use is to use
the version recommended by `Nest`, as it has undergone thorough unit testing.

> The previous framework name was `oak_nest`, now renamed `deno_nest`.
>
> It is recommended to use `Hono` as the underlying layer because its
> performance is better.

## Usage & Guide

To view our documentation, please visit
[official site](https://nests.deno.dev/en-US).

## TODO

- [x] support Guard
- [x] support Interceptor
- [x] support ExceptionFilter
- [x] unit test self
- [x] provide API to help unit
- [x] support oak
- [x] support hono
- [x] static assets
- [x] support lifecycle
- [x] Nest CLI
- [x] unit Hono and Oak self
- [x] alias
- [x] Nest Doc
- [x] Move to jsr

---

> You can see more in the example dirs.