: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
fastify
adapterfiles
to ApplicationSettings, remove srcDir, publicDir, logDir, configDir, dbDir
, rootDir
is not requiredSettingOptions
in ApplicationLoader
constructorstart()
return raw node http server@Service()
decorator@RestController()
decorator@On() @Subscriber
decoratorcreate-loon-app
script$beforeLoadRoutes
rename to $beforeLoadControllers
, $afterLoadRoutes
rename to $afterLoadControllers
$onClose
lifecycle hook$ 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
Please refer to the documentation for more details. 中文文档
Vincent Founder of loon |