0.1.2 • Published 3 years ago

webhost v0.1.2

Weekly downloads
3
License
ISC
Repository
github
Last release
3 years ago

webhost

A NodeJS framework for create general purpose web services.

Write using TypeScript with Visual Studio Code.

import { HttpApplication, IHttpApplication, IConfigure, IConfigureServices,
    NotFound, DefaultFiles, StaticFiles } from 'webhost';

@HttpApplication({
    imports: [],
    providers: [],
    port: 1800,
    wwwroot: __dirname + '/wwwroot'
})
export class HttpTestApplication implements IHttpApplication {

    public constructor(
    ) {
    }

    public configureServices(services: IConfigureServices): void {
    }

    public configure(app: IConfigure): void {
     
        app.use(DefaultFiles);

        app.use(StaticFiles);

        app.use(NotFound);
    }
}

Installation

$ npm install webhost

Features

  • Lightweight
  • Modulate
  • Dependencie Inject system build on
  • Core has none dependencies

Docs

Quick Start

Create a empty NPM package:

npm init -y

Install WebHost:

npm install webhost --save

Work with code:

code .

Example

https://github.com/Cliveburr/WebHost/tree/master/test
0.1.2

3 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.23

8 years ago

0.0.22

8 years ago

0.0.21

9 years ago

0.0.20

9 years ago

0.0.19

9 years ago

0.0.18

9 years ago

0.0.17

9 years ago

0.0.16

9 years ago

0.0.15

10 years ago

0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago