2.0.0-rc6 • Published 6 years ago

loon v2.0.0-rc6

Weekly downloads
5
License
Apache-2.0
Repository
github
Last release
6 years ago

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

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

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
$ npm install -g create-loon-app
$ create-loon-app <appName>
$ cd <appName>
$ npm start

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

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

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

2.0.0-rc6

6 years ago

2.0.0-rc5

6 years ago

2.0.0-rc4

6 years ago

2.0.0-rc3

6 years ago

2.0.0-rc2

6 years ago

2.0.0-rc1

6 years ago

1.4.5

7 years ago

1.4.4

7 years ago

1.4.3

7 years ago

1.4.2

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.3

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.1.10

7 years ago

1.1.9

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

1.0.0-4

7 years ago

1.0.0-3

7 years ago

1.0.0-2

7 years ago

1.0.0-1

7 years ago

1.0.0-0

7 years ago

0.8.7

7 years ago