loon

by loon-project

loon-project / loon

:cloud: Spring like framework build with Typescript

131 Stars 17 Forks Last release: over 3 years ago (v1.1.7) Apache License 2.0 583 Commits 10 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

NPM version Downloads Build Status Dependency status Dev Dependency status Coverage Status

LOON(气球)

Now it's time to celebrate, LOON 2.0!
Enterprise ready spring like framework build with Typescript on top of fastest node http framework fastify or express

Changelog

2.0

  • fastify
    adapter
  • add
    files
    to ApplicationSettings, remove
    srcDir, publicDir, logDir, configDir, dbDir
    ,
    rootDir
    is not required
  • use
    SettingOptions
    in
    ApplicationLoader
    constructor
  • use
    start()
    return raw node http server
  • remove
    @Service()
    decorator
  • remove
    @RestController()
    decorator
  • remove
    @On() @Subscriber
    decorator
  • add
    create-loon-app
    script
  • $beforeLoadRoutes
    rename to
    $beforeLoadControllers
    ,
    $afterLoadRoutes
    rename to
    $afterLoadControllers
  • add
    $onClose
    lifecycle hook
  • add graceful shutdown by default
  • add debug support

Quick Start

$ npm install -g create-loon-app
$ create-loon-app 
$ cd 
$ npm start

Open your browser, and go to http://localhost:9000, you will get hello world response

Features

  • Dependency Injection
  • Controller
  • Middleware
  • Filter
  • Model
  • Converter
  • Initializer

Please refer to the documentation for more details. 中文文档

Core Team


Vincent

Founder of loon

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.