2.0.1 • Published 7 years ago
nove v2.0.1
Nove
A creative framework for building enterprise applications with TypeScript.
Inspired by Nestjs and routing-controllers.
Installation
npm install nove --save
Quick Start
General, you should create a main app instance, a controller and one method belong to controller for handle request at least. Quick start with a file:
// app.ts
import { Nove, Controller, GET } from 'nove';
@Controller('/')
class MyController {
@GET('/')
async index () {
return { name: 'Jason' };
}
}
const app = new Nove({
controllers: [MyController]
});
app.listen(3000, () => {
console.log('server now at: http://localhost:3000/');
});
Use ts-node
to run typescript directly:
ts-node app.ts
And then visit http://localhost:3000/
with your browser.
LICENSE
Copyright (c) 2017-present, JasonChen (Junyi Chen).
2.0.1
7 years ago
2.0.0
7 years ago
1.0.9
7 years ago
1.0.8
7 years ago
1.0.7
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago
0.2.8
8 years ago
0.2.7
8 years ago
0.2.6
8 years ago
0.2.5
8 years ago
0.2.4
8 years ago
0.2.3
8 years ago
0.2.2
8 years ago
0.2.1
8 years ago
0.2.0
8 years ago
0.1.0
8 years ago