2.0.1 • Published 6 years ago

nove v2.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Nove

Travis Codecov npm license

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

MIT LICENSE

Copyright (c) 2017-present, JasonChen (Junyi Chen).

2.0.1

6 years ago

2.0.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.2.8

6 years ago

0.2.7

6 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago