Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.
/ nove Public archive

A creative framework for building enterprise applications with TypeScript.

License

Notifications You must be signed in to change notification settings

novejs/nove

Repository files navigation

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).

About

A creative framework for building enterprise applications with TypeScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published