Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loon-project/loon
:cloud: Spring like framework build with Typescript
https://github.com/loon-project/loon
express fastify mvc-application mvc-framework node nodejs typescript
Last synced: 3 months ago
JSON representation
:cloud: Spring like framework build with Typescript
- Host: GitHub
- URL: https://github.com/loon-project/loon
- Owner: loon-project
- License: apache-2.0
- Archived: true
- Created: 2017-01-13T01:03:49.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-02T08:54:56.000Z (over 6 years ago)
- Last Synced: 2024-09-19T04:09:05.699Z (3 months ago)
- Topics: express, fastify, mvc-application, mvc-framework, node, nodejs, typescript
- Language: TypeScript
- Homepage: https://loon-project.github.io
- Size: 680 KB
- Stars: 131
- Watchers: 14
- Forks: 17
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
README
[![NPM version][npm-image]][npm-url]
[![Downloads][downloads-image]][npm-url]
[![Build Status][travis-image]][travis-url]
[![Dependency status][david-dm-image]][david-dm-url]
[![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url]
[![Coverage Status][coveralls-image]][coveralls-url]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 expressChangelog
### 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 supportQuick 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 responseFeatures
* Dependency Injection
* Controller
* Middleware
* Filter
* Model
* Converter
* InitializerPlease refer to the [documentation](https://loon-project.github.io) for more details.
[中文文档](https://loon-project.github.io/#/zh-cn/)Core Team
Founder of loon
[npm-url]: https://npmjs.org/package/loon
[downloads-image]: http://img.shields.io/npm/dm/loon.svg
[npm-image]: http://img.shields.io/npm/v/loon.svg
[travis-url]: https://travis-ci.org/loon-project/loon
[travis-image]: http://img.shields.io/travis/loon-project/loon.svg
[david-dm-url]:https://david-dm.org/loon-project/loon
[david-dm-image]:https://david-dm.org/loon-project/loon.svg
[david-dm-dev-url]:https://david-dm.org/loon-project/loon#info=devDependencies
[david-dm-dev-image]:https://david-dm.org/loon-project/loon/dev-status.svg
[coveralls-url]: https://coveralls.io/github/loon-project/loon
[coveralls-image]:https://coveralls.io/repos/loon-project/loon/badge.svg