:cloud: Spring like framework build with Typescript
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
fastifyadapter
filesto ApplicationSettings, remove
srcDir, publicDir, logDir, configDir, dbDir,
rootDiris not required
SettingOptionsin
ApplicationLoaderconstructor
start()return raw node http server
@Service()decorator
@RestController()decorator
@On() @Subscriberdecorator
create-loon-appscript
$beforeLoadRoutesrename to
$beforeLoadControllers,
$afterLoadRoutesrename to
$afterLoadControllers
$onCloselifecycle hook
$ 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
Please refer to the documentation for more details. 中文文档
![]() Vincent Founder of loon |